[lvc-project] [PATCH 2/2] wifi: rtlwifi: simplify rtl_action_proc() and rtl_tx_agg_start()

Kalle Valo kvalo at kernel.org
Wed Nov 22 18:02:39 MSK 2023


Dmitry Antipov <dmantipov at yandex.ru> wrote:

> Since 'drv_priv' is an in-place member allocated at the end of
> 'struct ieee80211_sta', it can't be NULL and so relevant checks
> in 'rtl_action_proc()' and 'rtl_tx_agg_start()' may be dropped.
> Compile tested only.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
> Acked-by: Ping-Ke Shih <pkshih at realtek.com>

Patch applied to wireless-next.git, thanks.

2c4e9acbe3a5 wifi: rtlwifi: simplify rtl_action_proc() and rtl_tx_agg_start()

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20231113144734.197359-2-dmantipov@yandex.ru/

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




More information about the lvc-project mailing list