linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] drivers: net: realtek: fix memory leak in rtw_usb_probe
       [not found] <20230308142028.481504-1-dzm91@hust.edu.cn>
@ 2023-03-08 15:07 ` Kalle Valo
  0 siblings, 0 replies; only message in thread
From: Kalle Valo @ 2023-03-08 15:07 UTC (permalink / raw)
  To: Dongliang Mu
  Cc: Yan-Hsuan Chuang, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, linux-wireless

+ linux-wireless

Dongliang Mu <dzm91@hust.edu.cn> writes:

> drivers/net/wireless/realtek/rtw88/usb.c:876 rtw_usb_probe()
> warn: 'hw' from ieee80211_alloc_hw() not released on lines: 811
>
> Fix this by modifying return to a goto statement.
>
> Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
> ---
>  drivers/net/wireless/realtek/rtw88/usb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

You forgot to CC linux-wireless and the title should be:

wifi: rtw88: fix memory leak in rtw_usb_probe()

Please fix these and submit v2.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-08 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230308142028.481504-1-dzm91@hust.edu.cn>
2023-03-08 15:07 ` [PATCH] drivers: net: realtek: fix memory leak in rtw_usb_probe Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).