[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171128.160110.117717033696666746.davem@davemloft.net>
Date: Tue, 28 Nov 2017 16:01:10 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: 3chas3@...il.com, linux-atm-general@...ts.sourceforge.net,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atm: fore200e: use %pK to format kernel addresses
instead of %x
From: Colin King <colin.king@...onical.com>
Date: Mon, 27 Nov 2017 13:24:15 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> Don't use %x and casting to print out a kernel address, instead use the
> %pK and remove the casting. Cleans up smatch warning:
>
> drivers/atm/fore200e.c:3093 fore200e_proc_read() warn: argument 3 to %08x
> specifier is cast from pointer
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thank you.
Powered by blists - more mailing lists