Messages in this thread | | | Date | Tue, 28 Nov 2017 16:01:10 -0500 (EST) | Subject | Re: [PATCH] atm: fore200e: use %pK to format kernel addresses instead of %x | From | David Miller <> |
| |
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.
| |