David S. Miller 2d6be17d85 mISDN: Don't try to print a sockptr_t from debug logging code.
drivers/isdn/mISDN/socket.c: In function ‘data_sock_setsockopt’:
./include/linux/kern_levels.h:5:18: warning: format ‘%p’ expects argument of type ‘void *’, but argument 6 has type ‘sockptr_t’ [-Wformat=]
    5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
      |                  ^~~~~~
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
   15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
      |                    ^~~~~~~~
drivers/isdn/mISDN/socket.c:410:10: note: in expansion of macro ‘KERN_DEBUG’
  410 |   printk(KERN_DEBUG "%s(%p, %d, %x, %p, %d)\n", __func__, sock,
      |          ^~~~~~~~~~
drivers/isdn/mISDN/socket.c:410:38: note: format string is defined here
  410 |   printk(KERN_DEBUG "%s(%p, %d, %x, %p, %d)\n", __func__, sock,
      |                                     ~^
      |                                      |
      |                                      void *

Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-24 16:36:13 -07:00
..
2020-07-03 16:15:31 +02:00
2020-06-19 13:09:40 -07:00
2020-06-26 12:32:11 -07:00
2020-07-10 09:55:46 -07:00
2020-06-28 14:41:55 +02:00
2020-07-10 08:42:17 -07:00
2020-06-26 17:26:31 +02:00
2020-06-26 23:53:25 +02:00
2020-06-04 11:03:45 -07:00
2020-06-02 15:29:19 -07:00
2020-07-07 21:04:38 +02:00
2020-06-13 13:29:16 -07:00
2020-06-11 12:53:23 -07:00
2020-06-28 01:08:21 +02:00
2020-06-13 13:29:16 -07:00
2020-06-13 13:29:16 -07:00
2020-06-04 19:09:28 +02:00
2020-06-08 13:01:08 -07:00
2020-06-08 13:01:08 -07:00
2020-06-07 16:11:23 -07:00
2020-06-28 14:57:14 -07:00
2020-06-29 10:10:16 -07:00
2020-06-13 13:29:16 -07:00
2020-06-27 13:12:10 -07:00
2020-06-22 12:34:21 -04:00
2020-07-03 23:58:12 -07:00