Search Linux Wireless

Re: [PATCH] wifi: ath9k: fix printk specifier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 7/6/23 05:15, Jakub Kicinski wrote:
On Fri, 30 Jun 2023 21:03:02 +0800 Dongliang Mu wrote:
Smatch reports:

ath_pci_probe() warn: argument 4 to %lx specifier is cast from pointer
ath_ahb_probe() warn: argument 4 to %lx specifier is cast from pointer

Fix it by modifying %lx to %px in printk.
The patch does %p not %px.

Yes, checkpatch.pl suggests %p other than %px. So I revise it to %p, but forget to modify the commit message.

I will submit a v2 patch.




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux