]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: make iwl_txq_dyn_alloc_dma() return the txq
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Feb 2022 16:22:24 +0000 (18:22 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:54 +0000 (10:40 +0200)
commitad430fbf7748445219b5a9520317cbd3a2199ebd
treea4a1a2b8797a3c9d9a7a0ccb43fca6dd101621dd
parentb99fe7501c22aec3a8e68644ff65a5016a497b46
iwlwifi: make iwl_txq_dyn_alloc_dma() return the txq

Use the ERR_PTR() machinery to return the queue or an
error, instead of having a separate out parameter.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220210181930.1f0c5d72fb89.Iefca56d535558b7a8d23204fd16129c17b6704b6@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/queue/tx.c