[PATCH] wifi: ath10k: avoid NULL pointer error during sdio remove

Jeff Johnson quic_jjohnson at quicinc.com
Wed Oct 16 08:17:56 PDT 2024


On Tue, 08 Oct 2024 10:22:46 +0800, Kang Yang wrote:
> When running 'rmmod ath10k', ath10k_sdio_remove() will free sdio
> workqueue by destroy_workqueue(). But if CONFIG_INIT_ON_FREE_DEFAULT_ON
> is set to yes, kernel panic will happen:
> Call trace:
>  destroy_workqueue+0x1c/0x258
>  ath10k_sdio_remove+0x84/0x94
>  sdio_bus_remove+0x50/0x16c
>  device_release_driver_internal+0x188/0x25c
>  device_driver_detach+0x20/0x2c
> 
> [...]

Applied, thanks!

[1/1] wifi: ath10k: avoid NULL pointer error during sdio remove
      commit: 95c38953cb1ecf40399a676a1f85dfe2b5780a9a

Best regards,
-- 
Jeff Johnson <quic_jjohnson at quicinc.com>




More information about the ath10k mailing list