Re: [PATCH] atm: fore200e: use %pK to format kernel addresses instead of %x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 27 Nov 2017 13:24:15 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxx>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux