linux_dsm_epyc7002/drivers/net/wireless/iwlwifi
Luciano Coelho 6965a3540a 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>
2013-08-12 15:20:29 +02:00
..
dvm iwlwifi: remove duplicate rate scale init code 2013-07-31 11:05:05 +02:00
mvm iwlwifi: mvm: add support to the new FW time event API 2013-08-12 15:19:06 +02:00
pcie iwlwifi: pcie: don't swallow error codes in iwl_trans_pcie_alloc() 2013-08-12 15:20:29 +02:00
iwl-1000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-2000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-5000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-6000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-7000.c iwlwifi: mvm: add high temperature SKU thermal throttling parameters 2013-07-31 11:05:07 +02:00
iwl-agn-hw.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-config.h iwlwifi: mvm: add high temperature SKU thermal throttling parameters 2013-07-31 11:05:07 +02:00
iwl-csr.h iwlwifi: mvm: add thermal throttling and CT kill 2013-05-29 09:03:18 +02:00
iwl-debug.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-debug.h iwlwifi: introduce external debug level 2013-08-09 14:37:33 +02:00
iwl-devtrace.c iwlwifi: update copyright 2013-01-24 13:00:55 +01:00
iwl-devtrace.h iwlwifi: use __get_str in tracing 2013-03-06 16:47:27 +01:00
iwl-drv.c Merge remote-tracking branch 'wireless-next/master' into iwlwifi-next 2013-06-25 12:20:16 +02:00
iwl-drv.h iwlwifi: include export.h instead of module.h 2013-06-11 20:16:26 +02:00
iwl-eeprom-parse.c iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
iwl-eeprom-parse.h iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
iwl-eeprom-read.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-eeprom-read.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-fh.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-fw-file.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-fw.h iwlwifi: mvm: add support to the new FW time event API 2013-08-12 15:19:06 +02:00
iwl-io.c iwlwifi: move dump_fh into common code 2013-07-16 13:12:54 +03:00
iwl-io.h iwlwifi: move dump_fh into common code 2013-07-16 13:12:54 +03:00
iwl-modparams.h iwlwifi: remove auto_agg module parameter 2013-06-18 11:51:56 +02:00
iwl-notif-wait.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-notif-wait.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-nvm-parse.c iwlwifi: mvm: Enable user set TX power 2013-07-31 11:04:59 +02:00
iwl-nvm-parse.h iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
iwl-op-mode.h iwlwifi: fix some documentation typos 2013-08-06 10:33:58 +02:00
iwl-phy-db.c iwlwifi: remove calib channel section from PHY DB 2013-06-13 12:03:52 +02:00
iwl-phy-db.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-prph.h iwlwifi: mvm: add thermal throttling and CT kill 2013-05-29 09:03:18 +02:00
iwl-trans.h iwlwifi: remove transport suspend/resume indirection 2013-08-06 10:34:33 +02:00
Kconfig iwlwifi: dvm: remove P2P support 2013-07-25 15:02:59 +02:00
Makefile iwlwifi: remove testmode 2013-06-18 11:51:57 +02:00