[bug report] wifi: ath12k: move struct ath12k_hw from per device to group

Jeff Johnson jeff.johnson at oss.qualcomm.com
Tue Dec 10 10:07:10 PST 2024


On 12/10/2024 12:34 AM, Dan Carpenter wrote:
> Hello Karthikeyan Periyasamy,
> 
> Commit a343d97f27f5 ("wifi: ath12k: move struct ath12k_hw from per
> device to group") from Dec 4, 2024 (linux-next), leads to the
> following Smatch static checker warning:
> 
> 	drivers/net/wireless/ath/ath12k/mac.c:10938 ath12k_mac_destroy()
> 	error: we previously assumed 'ab' could be null (see line 10927)

For completeness this is also flagged here:
https://scan7.scan.coverity.com/#/project-view/52682/11354?selectedIssue=1602340




More information about the ath12k mailing list