lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2f7d6544-c7f8-93e7-3963-79f42adafd01@hust.edu.cn>
Date:   Thu, 6 Jul 2023 08:46:07 +0800
From:   Dongliang Mu <dzm91@...t.edu.cn>
To:     Jakub Kicinski <kuba@...nel.org>
Cc:     Toke Høiland-Jørgensen <toke@...e.dk>,
        Kalle Valo <kvalo@...nel.org>, linux-wireless@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] wifi: ath9k: fix printk specifier


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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ