Re: [PATCH] ath11k: Fix an error handling path

2020-12-02 Thread Kalle Valo
Christophe JAILLET wrote: > If 'kzalloc' fails, we must return an error code. > > While at it, remove a useless initialization of 'err' which could hide the > issue. > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > Signed-off-by: Christophe JAILLET > Signed-off-b

[PATCH] ath11k: Fix an error handling path

2020-11-22 Thread Christophe JAILLET
If 'kzalloc' fails, we must return an error code. While at it, remove a useless initialization of 'err' which could hide the issue. Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") Signed-off-by: Christophe JAILLET --- drivers/net/wireless/ath/ath11k/qmi.c | 6 -- 1