OSDN Git Service

isdn: hisax: Fix misuse of %x in config.c
authorFuqian Huang <huangfq.daxian@gmail.com>
Tue, 23 Apr 2019 02:25:28 +0000 (10:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2019 01:33:30 +0000 (18:33 -0700)
commit6f9fd97e3a6b32dc7783b0c21f551a9dff7cbe0a
tree15ad6fb2778dcca5c982c86646a14687206e18db
parent6b18bdfdba2cb11c26f06dea6bacfd6d43a37c88
isdn: hisax: Fix misuse of %x in config.c

Pointers should be printed with %p or %px rather than
cast to (u_long) type and printed with %lX.
As the function seems to be for debug purpose.
Change %lX to %px to print the pointer value.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/config.c