[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171129.095844.388821862193219822.davem@davemloft.net>
Date: Wed, 29 Nov 2017 09:58:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: via: via-rhine: use %p to format void * address
instead of %x
From: Colin King <colin.king@...onical.com>
Date: Wed, 29 Nov 2017 14:11:49 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> Don't use %x and casting to print out an address, instead use %p
> and remove the casting. Cleans up smatch warnings:
>
> drivers/net/ethernet/via/via-rhine.c:998 rhine_init_one_common()
> warn: argument 4 to %lx specifier is cast from pointer
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists