lkml.org 
[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] atm: fore200e: use %pK to format kernel addresses instead of %x
From
From: Colin King <colin.king@canonical.com>
Date: Mon, 27 Nov 2017 13:24:15 +0000

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

Applied, thank you.

\
 
 \ /
  Last update: 2017-11-28 22:02    [W:0.032 / U:2.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site