]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f1001001c640d7e313f77aac1fbb5f77e75567f
tree15ad6fb2778dcca5c982c86646a14687206e18db
parentc3836ea32f2ccf7a52b9cf36d0a993978c6aedd3
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