summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorLuciano Coelho2013-08-10 15:35:45 +0200
committerJohannes Berg2013-08-12 15:20:29 +0200
commit6965a3540a4b45ee5b6fa91276a8134e25e17b63 (patch)
treeb82db7e6f1337b1e71d1cdebf2bb930d20a7b33a /README
parentiwlwifi: mvm: add support to the new FW time event API (diff)
downloadkernel-qcow2-linux-6965a3540a4b45ee5b6fa91276a8134e25e17b63.tar.gz
kernel-qcow2-linux-6965a3540a4b45ee5b6fa91276a8134e25e17b63.tar.xz
kernel-qcow2-linux-6965a3540a4b45ee5b6fa91276a8134e25e17b63.zip
iwlwifi: pcie: don't swallow error codes in iwl_trans_pcie_alloc()
The iwl_trans_pcie_alloc() function doesn't pass up error codes returned from functions it calls, swallowing them and returning NULL in all failure cases. The caller checks if the return value is NULL and returns -ENOMEM. This is not correct, because in certain cases the failure was not due to an OOM situation. To fix this, modify the iwl_trans_pcie_alloc() function to use ERR_PTR() to return error codes and clean up the error handling code a bit. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions