diff options
author | 2017-11-27 13:39:32 +0000 | |
---|---|---|
committer | 2017-11-28 16:02:44 -0500 | |
commit | 6c9065427072b4e726a2c17f9aa2448d87a92097 (patch) | |
tree | 61ab239d7c3ae7e2a63044ec02276a4a43bb83c1 /samples | |
parent | VSOCK: Don't set sk_state to TCP_CLOSE before testing it (diff) | |
download | linux-dev-6c9065427072b4e726a2c17f9aa2448d87a92097.tar.xz linux-dev-6c9065427072b4e726a2c17f9aa2448d87a92097.zip |
atm: lanai: use %p to format kernel addresses instead of %x
Don't use %x and casting to print out a kernel address, instead use %p
and remove the casting. Cleans up smatch warnings:
drivers/atm/lanai.c:1589 service_buffer_allocate() warn: argument 2 to
%08lX specifier is cast from pointer
drivers/atm/lanai.c:2221 lanai_dev_open() warn: argument 4 to %lx
specifier is cast from pointer
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions