linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Shyam Prasad N <sprasad@microsoft.com>
Cc: kbuild-all@lists.01.org, linux-cifs@vger.kernel.org,
	samba-technical@lists.samba.org,
	Steve French <stfrench@microsoft.com>
Subject: [cifs:for-next 3/4] fs/cifs/sess.c:98:22: error: passing argument 2 of 'set_bit' from incompatible pointer type
Date: Thu, 3 Jun 2021 14:50:28 +0800	[thread overview]
Message-ID: <202106031419.mDl483CZ-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 24952 bytes --]

tree:   git://git.samba.org/sfrench/cifs-2.6.git for-next
head:   69f98828728fe664faf3e9be5f476f08b4595da1
commit: 374c6c7bba3cbaa1420eeab89d92c3cdaf5abc3a [3/4] cifs: changes to support multichannel during channel reconnect
config: i386-randconfig-r003-20210603 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add cifs git://git.samba.org/sfrench/cifs-2.6.git
        git fetch --no-tags cifs for-next
        git checkout 374c6c7bba3cbaa1420eeab89d92c3cdaf5abc3a
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/cifssmb.c:30:
   fs/cifs/cifssmb.c: In function 'cifs_reconnect_tcon':
>> include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |          ^~~
   include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
         |                    ^~~~~~~~
   include/linux/printk.h:497:12: note: in expansion of macro 'KERN_DEBUG'
     497 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
         |            ^~~~~~~~~~
   fs/cifs/cifs_debug.h:65:3: note: in expansion of macro 'pr_debug_once'
      65 |   pr_debug_ ## ratefunc("%s: " fmt,   \
         |   ^~~~~~~~~
   fs/cifs/cifs_debug.h:77:3: note: in expansion of macro 'cifs_dbg_func'
      77 |   cifs_dbg_func(once, type, fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~~~~~
   fs/cifs/cifssmb.c:201:2: note: in expansion of macro 'cifs_dbg'
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/cifssmb.c:201:42: note: format string is defined here
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/cifssmb.c:30:
   include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:445:10: note: in definition of macro 'printk_once'
     445 |   printk(fmt, ##__VA_ARGS__);   \
         |          ^~~
   include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH'
      11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
         |                  ^~~~~~~~
   include/linux/printk.h:474:14: note: in expansion of macro 'KERN_ERR'
     474 |  printk_once(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
         |              ^~~~~~~~
   fs/cifs/cifs_debug.h:68:3: note: in expansion of macro 'pr_err_once'
      68 |   pr_err_ ## ratefunc("VFS: " fmt, ##__VA_ARGS__); \
         |   ^~~~~~~
   fs/cifs/cifs_debug.h:77:3: note: in expansion of macro 'cifs_dbg_func'
      77 |   cifs_dbg_func(once, type, fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~~~~~
   fs/cifs/cifssmb.c:201:2: note: in expansion of macro 'cifs_dbg'
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/cifssmb.c:201:42: note: format string is defined here
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/cifssmb.c:30:
   include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |          ^~~
   include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
         |                    ^~~~~~~~
   include/linux/printk.h:497:12: note: in expansion of macro 'KERN_DEBUG'
     497 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
         |            ^~~~~~~~~~
   fs/cifs/cifs_debug.h:70:3: note: in expansion of macro 'pr_debug_once'
      70 |   pr_debug_ ## ratefunc(fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~
   fs/cifs/cifs_debug.h:77:3: note: in expansion of macro 'cifs_dbg_func'
      77 |   cifs_dbg_func(once, type, fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~~~~~
   fs/cifs/cifssmb.c:201:2: note: in expansion of macro 'cifs_dbg'
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/cifssmb.c:201:42: note: format string is defined here
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/cifssmb.c:30:
>> include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |          ^~~
   include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
         |                    ^~~~~~~~
   include/linux/printk.h:562:12: note: in expansion of macro 'KERN_DEBUG'
     562 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
         |            ^~~~~~~~~~
   fs/cifs/cifs_debug.h:65:3: note: in expansion of macro 'pr_debug_ratelimited'
      65 |   pr_debug_ ## ratefunc("%s: " fmt,   \
         |   ^~~~~~~~~
   fs/cifs/cifs_debug.h:79:3: note: in expansion of macro 'cifs_dbg_func'
      79 |   cifs_dbg_func(ratelimited, type, fmt, ##__VA_ARGS__); \
         |   ^~~~~~~~~~~~~
   fs/cifs/cifssmb.c:201:2: note: in expansion of macro 'cifs_dbg'
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/cifssmb.c:201:42: note: format string is defined here
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/cifssmb.c:30:
   include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:512:10: note: in definition of macro 'printk_ratelimited'
     512 |   printk(fmt, ##__VA_ARGS__);    \
         |          ^~~
   include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH'
      11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
         |                  ^~~~~~~~
   include/linux/printk.h:526:21: note: in expansion of macro 'KERN_ERR'
     526 |  printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
         |                     ^~~~~~~~
   fs/cifs/cifs_debug.h:68:3: note: in expansion of macro 'pr_err_ratelimited'
      68 |   pr_err_ ## ratefunc("VFS: " fmt, ##__VA_ARGS__); \
         |   ^~~~~~~
   fs/cifs/cifs_debug.h:79:3: note: in expansion of macro 'cifs_dbg_func'
      79 |   cifs_dbg_func(ratelimited, type, fmt, ##__VA_ARGS__); \
         |   ^~~~~~~~~~~~~
   fs/cifs/cifssmb.c:201:2: note: in expansion of macro 'cifs_dbg'
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/cifssmb.c:201:42: note: format string is defined here
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/cifssmb.c:30:
   include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |          ^~~
   include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
         |                    ^~~~~~~~
   include/linux/printk.h:562:12: note: in expansion of macro 'KERN_DEBUG'
     562 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
         |            ^~~~~~~~~~
   fs/cifs/cifs_debug.h:70:3: note: in expansion of macro 'pr_debug_ratelimited'
      70 |   pr_debug_ ## ratefunc(fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~
   fs/cifs/cifs_debug.h:79:3: note: in expansion of macro 'cifs_dbg_func'
      79 |   cifs_dbg_func(ratelimited, type, fmt, ##__VA_ARGS__); \
         |   ^~~~~~~~~~~~~
   fs/cifs/cifssmb.c:201:2: note: in expansion of macro 'cifs_dbg'
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/cifssmb.c:201:42: note: format string is defined here
     201 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
--
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/smb2pdu.c:31:
   fs/cifs/smb2pdu.c: In function 'smb2_reconnect':
>> include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |          ^~~
   include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
         |                    ^~~~~~~~
   include/linux/printk.h:497:12: note: in expansion of macro 'KERN_DEBUG'
     497 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
         |            ^~~~~~~~~~
   fs/cifs/cifs_debug.h:65:3: note: in expansion of macro 'pr_debug_once'
      65 |   pr_debug_ ## ratefunc("%s: " fmt,   \
         |   ^~~~~~~~~
   fs/cifs/cifs_debug.h:77:3: note: in expansion of macro 'cifs_dbg_func'
      77 |   cifs_dbg_func(once, type, fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~~~~~
   fs/cifs/smb2pdu.c:248:2: note: in expansion of macro 'cifs_dbg'
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/smb2pdu.c:248:42: note: format string is defined here
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/smb2pdu.c:31:
   include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:445:10: note: in definition of macro 'printk_once'
     445 |   printk(fmt, ##__VA_ARGS__);   \
         |          ^~~
   include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH'
      11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
         |                  ^~~~~~~~
   include/linux/printk.h:474:14: note: in expansion of macro 'KERN_ERR'
     474 |  printk_once(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
         |              ^~~~~~~~
   fs/cifs/cifs_debug.h:68:3: note: in expansion of macro 'pr_err_once'
      68 |   pr_err_ ## ratefunc("VFS: " fmt, ##__VA_ARGS__); \
         |   ^~~~~~~
   fs/cifs/cifs_debug.h:77:3: note: in expansion of macro 'cifs_dbg_func'
      77 |   cifs_dbg_func(once, type, fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~~~~~
   fs/cifs/smb2pdu.c:248:2: note: in expansion of macro 'cifs_dbg'
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/smb2pdu.c:248:42: note: format string is defined here
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/smb2pdu.c:31:
   include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |          ^~~
   include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
         |                    ^~~~~~~~
   include/linux/printk.h:497:12: note: in expansion of macro 'KERN_DEBUG'
     497 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
         |            ^~~~~~~~~~
   fs/cifs/cifs_debug.h:70:3: note: in expansion of macro 'pr_debug_once'
      70 |   pr_debug_ ## ratefunc(fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~
   fs/cifs/cifs_debug.h:77:3: note: in expansion of macro 'cifs_dbg_func'
      77 |   cifs_dbg_func(once, type, fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~~~~~
   fs/cifs/smb2pdu.c:248:2: note: in expansion of macro 'cifs_dbg'
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/smb2pdu.c:248:42: note: format string is defined here
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/smb2pdu.c:31:
>> include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |          ^~~
   include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
         |                    ^~~~~~~~
   include/linux/printk.h:562:12: note: in expansion of macro 'KERN_DEBUG'
     562 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
         |            ^~~~~~~~~~
   fs/cifs/cifs_debug.h:65:3: note: in expansion of macro 'pr_debug_ratelimited'
      65 |   pr_debug_ ## ratefunc("%s: " fmt,   \
         |   ^~~~~~~~~
   fs/cifs/cifs_debug.h:79:3: note: in expansion of macro 'cifs_dbg_func'
      79 |   cifs_dbg_func(ratelimited, type, fmt, ##__VA_ARGS__); \
         |   ^~~~~~~~~~~~~
   fs/cifs/smb2pdu.c:248:2: note: in expansion of macro 'cifs_dbg'
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/smb2pdu.c:248:42: note: format string is defined here
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/smb2pdu.c:31:
   include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:512:10: note: in definition of macro 'printk_ratelimited'
     512 |   printk(fmt, ##__VA_ARGS__);    \
         |          ^~~
   include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH'
      11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
         |                  ^~~~~~~~
   include/linux/printk.h:526:21: note: in expansion of macro 'KERN_ERR'
     526 |  printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
         |                     ^~~~~~~~
   fs/cifs/cifs_debug.h:68:3: note: in expansion of macro 'pr_err_ratelimited'
      68 |   pr_err_ ## ratefunc("VFS: " fmt, ##__VA_ARGS__); \
         |   ^~~~~~~
   fs/cifs/cifs_debug.h:79:3: note: in expansion of macro 'cifs_dbg_func'
      79 |   cifs_dbg_func(ratelimited, type, fmt, ##__VA_ARGS__); \
         |   ^~~~~~~~~~~~~
   fs/cifs/smb2pdu.c:248:2: note: in expansion of macro 'cifs_dbg'
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/smb2pdu.c:248:42: note: format string is defined here
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
   In file included from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/wait.h:7,
                    from include/linux/wait_bit.h:8,
                    from include/linux/fs.h:6,
                    from fs/cifs/smb2pdu.c:31:
   include/linux/kern_levels.h:5:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
         |                  ^~~~~~
   include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |          ^~~
   include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
         |                    ^~~~~~~~
   include/linux/printk.h:562:12: note: in expansion of macro 'KERN_DEBUG'
     562 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
         |            ^~~~~~~~~~
   fs/cifs/cifs_debug.h:70:3: note: in expansion of macro 'pr_debug_ratelimited'
      70 |   pr_debug_ ## ratefunc(fmt, ##__VA_ARGS__);  \
         |   ^~~~~~~~~
   fs/cifs/cifs_debug.h:79:3: note: in expansion of macro 'cifs_dbg_func'
      79 |   cifs_dbg_func(ratelimited, type, fmt, ##__VA_ARGS__); \
         |   ^~~~~~~~~~~~~
   fs/cifs/smb2pdu.c:248:2: note: in expansion of macro 'cifs_dbg'
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |  ^~~~~~~~
   fs/cifs/smb2pdu.c:248:42: note: format string is defined here
     248 |  cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d",
         |                                        ~~^
         |                                          |
         |                                          long unsigned int
         |                                        %x
..


vim +/set_bit +98 fs/cifs/sess.c

    92	
    93	void
    94	cifs_chan_set_need_reconnect(struct cifs_ses *ses,
    95				     struct TCP_Server_Info *server)
    96	{
    97		size_t chan_index = cifs_ses_get_chan_index(ses, server);
  > 98		set_bit(chan_index, &ses->chans_need_reconnect);
  > 99		cifs_dbg(FYI, "Set reconnect bitmask for chan %lu; now 0x%lx\n",
   100			 chan_index, ses->chans_need_reconnect);
   101	}
   102	
   103	void
   104	cifs_chan_clear_need_reconnect(struct cifs_ses *ses,
   105				       struct TCP_Server_Info *server)
   106	{
   107		size_t chan_index = cifs_ses_get_chan_index(ses, server);
 > 108		clear_bit(chan_index, &ses->chans_need_reconnect);
   109		cifs_dbg(FYI, "Cleared reconnect bitmask for chan %lu; now 0x%lx\n",
   110			 chan_index, ses->chans_need_reconnect);
   111	}
   112	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30192 bytes --]

                 reply	other threads:[~2021-06-03  6:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106031419.mDl483CZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=samba-technical@lists.samba.org \
    --cc=sprasad@microsoft.com \
    --cc=stfrench@microsoft.com \
    --subject='Re: [cifs:for-next 3/4] fs/cifs/sess.c:98:22: error: passing argument 2 of '\''set_bit'\'' from incompatible pointer type' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).