net: ax25: fix misuse of %x
authorFuqian Huang <huangfq.daxian@gmail.com>
Sun, 21 Apr 2019 11:48:06 +0000 (19:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Apr 2019 17:37:26 +0000 (10:37 -0700)
commit966cddef20a7a43dc07de4b59997f384b4fd103a
tree4294cc2b84644667921615b04056c8fc10fd7cf4
parent05453eadbf89c4f428ec0e6e962348f18e3a0caa
net: ax25: fix misuse of %x

Pointers should be printed with %p or %px rather than
cast to long type and printed with %8.8lx.
Change %8.8lx to %p to print the pointer.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/af_ax25.c