CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: Milind Changire <[email protected]>

Hi Milind,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on ceph-client/for-linus]
[also build test WARNING on v5.16 next-20220117]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    
https://github.com/0day-ci/linux/commits/Milind-Changire/ceph-add-getvxattr-op-support/20220117-114947
base:   https://github.com/ceph/ceph-client.git for-linus
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: alpha-randconfig-c004-20220116 
(https://download.01.org/0day-ci/archive/20220117/[email protected]/config)
compiler: alpha-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # 
https://github.com/0day-ci/linux/commit/ed42f71060fc0c0c0c43a582f0bb817713836ddb
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
Milind-Changire/ceph-add-getvxattr-op-support/20220117-114947
        git checkout ed42f71060fc0c0c0c43a582f0bb817713836ddb
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross 
O=build_dir ARCH=alpha SHELL=/bin/bash fs/ceph/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All warnings (new ones prefixed by >>):

   In file included from include/linux/kernel.h:20,
                    from include/linux/cpumask.h:10,
                    from include/linux/mm_types_task.h:14,
                    from include/linux/mm_types.h:5,
                    from include/linux/buildid.h:5,
                    from include/linux/module.h:14,
                    from fs/ceph/inode.c:4:
   fs/ceph/inode.c: In function 'ceph_do_getvxattr':
>> include/linux/kern_levels.h:5:25: warning: format '%u' expects argument of 
>> type 'unsigned int', but argument 2 has type 'size_t' {aka 'long unsigned 
>> int'} [-Wformat=]
       5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
         |                         ^~~~~~
   include/linux/printk.h:422:25: note: in definition of macro 
'printk_index_wrap'
     422 |                 _p_func(_fmt, ##__VA_ARGS__);                        
   \
         |                         ^~~~
   include/linux/ceph/ceph_debug.h:26:25: note: in expansion of macro 'printk'
      26 |                         printk(KERN_DEBUG fmt, ##__VA_ARGS__);  \
         |                         ^~~~~~
   include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG      KERN_SOH "7"    /* debug-level messages */
         |                         ^~~~~~~~
   include/linux/ceph/ceph_debug.h:26:32: note: in expansion of macro 
'KERN_DEBUG'
      26 |                         printk(KERN_DEBUG fmt, ##__VA_ARGS__);  \
         |                                ^~~~~~~~~~
   fs/ceph/inode.c:2326:9: note: in expansion of macro 'dout'
    2326 |         dout("do_getvxattr xattr_value_len:%u, size:%u\n", 
xattr_value_len, size);
         |         ^~~~
   include/linux/kern_levels.h:5:25: warning: format '%u' expects argument of 
type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} 
[-Wformat=]
       5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
         |                         ^~~~~~
   include/linux/printk.h:422:25: note: in definition of macro 
'printk_index_wrap'
     422 |                 _p_func(_fmt, ##__VA_ARGS__);                        
   \
         |                         ^~~~
   include/linux/ceph/ceph_debug.h:26:25: note: in expansion of macro 'printk'
      26 |                         printk(KERN_DEBUG fmt, ##__VA_ARGS__);  \
         |                         ^~~~~~
   include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG      KERN_SOH "7"    /* debug-level messages */
         |                         ^~~~~~~~
   include/linux/ceph/ceph_debug.h:26:32: note: in expansion of macro 
'KERN_DEBUG'
      26 |                         printk(KERN_DEBUG fmt, ##__VA_ARGS__);  \
         |                                ^~~~~~~~~~
   fs/ceph/inode.c:2326:9: note: in expansion of macro 'dout'
    2326 |         dout("do_getvxattr xattr_value_len:%u, size:%u\n", 
xattr_value_len, size);
         |         ^~~~


vim +5 include/linux/kern_levels.h

314ba3520e513a Joe Perches 2012-07-30  4  
04d2c8c83d0e3a Joe Perches 2012-07-30 @5  #define KERN_SOH      "\001"          
/* ASCII Start Of Header */
04d2c8c83d0e3a Joe Perches 2012-07-30  6  #define KERN_SOH_ASCII        '\001'
04d2c8c83d0e3a Joe Perches 2012-07-30  7  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to