[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87lefts37y.fsf@toke.dk>
Date: Thu, 06 Jul 2023 13:12:49 +0200
From: Toke Høiland-Jørgensen <toke@...e.dk>
To: Dongliang Mu <dzm91@...t.edu.cn>, Kalle Valo <kvalo@...nel.org>
Cc: Dongliang Mu <dzm91@...t.edu.cn>, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] wifi: ath9k: fix printk specifier
Dongliang Mu <dzm91@...t.edu.cn> writes:
> 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 %p in printk.
>
> Signed-off-by: Dongliang Mu <dzm91@...t.edu.cn>
> ---
> v1->v2: modify %px to %p
But now the patch uses %px :)
-Toke
Powered by blists - more mailing lists