]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iwlwifi: pcie: returning positive instead of negative
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 10 Aug 2013 23:03:21 +0000 (02:03 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Aug 2013 13:21:20 +0000 (15:21 +0200)
commit2ab9ba0fdfa20e81c4454c57f534585a264cb238
tree2bc5cec208017b0ce908419fb2948c16a6058bc2
parentab3077009f3e5237aaddaf0d5d139b1fd59d3b32
iwlwifi: pcie: returning positive instead of negative

There is a missing '-' character here so we return positive 'ENOMEM'
instead of negative.  The caller doesn't care.  All non-zero returns
are translated to '-ENOMEM' in iwl_pcie_nic_init().

This is just a cleanup.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c