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

From: Dongliang Mu
Date: Wed Jul 05 2023 - 20:47:03 EST



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.