All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [hch-misc:i_ino-u64 1/1] fs/notify/fdinfo.c:124:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'}
@ 2020-05-05 12:31 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-05 12:31 UTC (permalink / raw
  To: kbuild-all

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

tree:   git://git.infradead.org/users/hch/misc.git i_ino-u64
head:   af34aa4178efe95f96741b91b94b3569a0d4a22a
commit: af34aa4178efe95f96741b91b94b3569a0d4a22a [1/1] fs: make i_ino a u64
config: arm-aspeed_g4_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout af34aa4178efe95f96741b91b94b3569a0d4a22a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm 

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

All warnings (new ones prefixed by >>):

   fs/notify/fdinfo.c: In function 'fanotify_fdinfo':
>> fs/notify/fdinfo.c:124:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     124 |   seq_printf(m, "fanotify ino:%lx sdev:%x mflags:%x mask:%x ignored_mask:%x ",
         |                               ~~^
         |                                 |
         |                                 long unsigned int
         |                               %llx
     125 |       inode->i_ino, inode->i_sb->s_dev,
         |       ~~~~~~~~~~~~               
         |            |
         |            u64 {aka long long unsigned int}
--
   fs/ubifs/journal.c: In function 'ubifs_jnl_truncate':
>> fs/ubifs/journal.c:1556:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'const long long unsigned int'} [-Wformat=]
    1556 |     ubifs_err(c, "bad data node (block %u, inode %lu)",
         |                                                  ~~^
         |                                                    |
         |                                                    long unsigned int
         |                                                  %llu
    1557 |        blk, inode->i_ino);
         |             ~~~~~~~~~~~~                            
         |                  |
         |                  u64 {aka const long long unsigned int}
   In file included from include/linux/kernel.h:15,
                    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/ubifs/ubifs.h:16,
                    from fs/ubifs/journal.c:49:
   fs/ubifs/journal.c: In function 'ubifs_jnl_change_xattr':
>> fs/ubifs/debug.h:158:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u64' {aka 'const long long unsigned int'} [-Wformat=]
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |           ^~~~~~~~~~~~
   include/linux/printk.h:283:21: note: in definition of macro 'pr_fmt'
     283 | #define pr_fmt(fmt) fmt
         |                     ^~~
>> include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
     143 |  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
     153 |  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
         |  ^~~~~~~~~~~~~~~~~~
>> include/linux/printk.h:330:2: note: in expansion of macro 'dynamic_pr_debug'
     330 |  dynamic_pr_debug(fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~
>> fs/ubifs/debug.h:158:2: note: in expansion of macro 'pr_debug'
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |  ^~~~~~~~
>> fs/ubifs/debug.h:172:29: note: in expansion of macro 'ubifs_dbg_msg'
     172 | #define dbg_jnl(fmt, ...)   ubifs_dbg_msg("jnl", fmt, ##__VA_ARGS__)
         |                             ^~~~~~~~~~~~~
>> fs/ubifs/journal.c:1798:2: note: in expansion of macro 'dbg_jnl'
    1798 |  dbg_jnl("ino %llu, ino %lu", host->i_ino, inode->i_ino);
         |  ^~~~~~~
   fs/ubifs/journal.c:1798:27: note: format string is defined here
    1798 |  dbg_jnl("ino %llu, ino %lu", host->i_ino, inode->i_ino);
         |                         ~~^
         |                           |
         |                           long unsigned int
         |                         %llu
--
   fs/ubifs/file.c: In function 'read_block':
>> fs/ubifs/file.c:93:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
      93 |  ubifs_err(c, "bad data node (block %u, inode %lu)",
         |                                               ~~^
         |                                                 |
         |                                                 long unsigned int
         |                                               %llu
      94 |     block, inode->i_ino);
         |            ~~~~~~~~~~~~                          
         |                 |
         |                 u64 {aka long long unsigned int}
   In file included from include/linux/kernel.h:15,
                    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/ubifs/ubifs.h:16,
                    from fs/ubifs/file.c:40:
   fs/ubifs/file.c: In function 'do_readpage':
>> fs/ubifs/debug.h:158:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |           ^~~~~~~~~~~~
   include/linux/printk.h:283:21: note: in definition of macro 'pr_fmt'
     283 | #define pr_fmt(fmt) fmt
         |                     ^~~
>> include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
     143 |  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
     153 |  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
         |  ^~~~~~~~~~~~~~~~~~
>> include/linux/printk.h:330:2: note: in expansion of macro 'dynamic_pr_debug'
     330 |  dynamic_pr_debug(fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~
>> fs/ubifs/debug.h:158:2: note: in expansion of macro 'pr_debug'
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |  ^~~~~~~~
   fs/ubifs/debug.h:170:29: note: in expansion of macro 'ubifs_dbg_msg'
     170 | #define dbg_gen(fmt, ...)   ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__)
         |                             ^~~~~~~~~~~~~
>> fs/ubifs/file.c:109:2: note: in expansion of macro 'dbg_gen'
     109 |  dbg_gen("ino %lu, pg %lu, i_size %lld, flags %#lx",
         |  ^~~~~~~
   fs/ubifs/file.c:109:17: note: format string is defined here
     109 |  dbg_gen("ino %lu, pg %lu, i_size %lld, flags %#lx",
         |               ~~^
         |                 |
         |                 long unsigned int
         |               %llu
   fs/ubifs/file.c:166:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     166 |   ubifs_err(c, "cannot read page %lu of inode %lu, error %d",
         |                                               ~~^
         |                                                 |
         |                                                 long unsigned int
         |                                               %llu
     167 |      page->index, inode->i_ino, err);
         |                   ~~~~~~~~~~~~                   
         |                        |
         |                        u64 {aka long long unsigned int}
   In file included from include/linux/kernel.h:15,
                    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/ubifs/ubifs.h:16,
                    from fs/ubifs/file.c:40:
   fs/ubifs/file.c: In function 'write_begin_slow':
>> fs/ubifs/debug.h:158:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |           ^~~~~~~~~~~~
   include/linux/printk.h:283:21: note: in definition of macro 'pr_fmt'
     283 | #define pr_fmt(fmt) fmt
         |                     ^~~
>> include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
     143 |  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
     153 |  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
         |  ^~~~~~~~~~~~~~~~~~
>> include/linux/printk.h:330:2: note: in expansion of macro 'dynamic_pr_debug'
     330 |  dynamic_pr_debug(fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~
>> fs/ubifs/debug.h:158:2: note: in expansion of macro 'pr_debug'
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |  ^~~~~~~~
   fs/ubifs/debug.h:170:29: note: in expansion of macro 'ubifs_dbg_msg'
     170 | #define dbg_gen(fmt, ...)   ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__)
         |                             ^~~~~~~~~~~~~
   fs/ubifs/file.c:228:2: note: in expansion of macro 'dbg_gen'
     228 |  dbg_gen("ino %lu, pos %llu, len %u, i_size %lld",
         |  ^~~~~~~
   fs/ubifs/file.c:228:17: note: format string is defined here
     228 |  dbg_gen("ino %lu, pos %llu, len %u, i_size %lld",
         |               ~~^
         |                 |
         |                 long unsigned int
         |               %llu
   In file included from include/linux/kernel.h:15,
                    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/ubifs/ubifs.h:16,
                    from fs/ubifs/file.c:40:
   fs/ubifs/file.c: In function 'ubifs_write_end':
>> fs/ubifs/debug.h:158:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |           ^~~~~~~~~~~~
   include/linux/printk.h:283:21: note: in definition of macro 'pr_fmt'
     283 | #define pr_fmt(fmt) fmt
         |                     ^~~
>> include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
     143 |  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
     153 |  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
         |  ^~~~~~~~~~~~~~~~~~
>> include/linux/printk.h:330:2: note: in expansion of macro 'dynamic_pr_debug'
     330 |  dynamic_pr_debug(fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~
>> fs/ubifs/debug.h:158:2: note: in expansion of macro 'pr_debug'
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |  ^~~~~~~~
   fs/ubifs/debug.h:170:29: note: in expansion of macro 'ubifs_dbg_msg'
     170 | #define dbg_gen(fmt, ...)   ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__)
         |                             ^~~~~~~~~~~~~
   fs/ubifs/file.c:546:2: note: in expansion of macro 'dbg_gen'
     546 |  dbg_gen("ino %lu, pos %llu, pg %lu, len %u, copied %d, i_size %lld",
         |  ^~~~~~~
   fs/ubifs/file.c:546:17: note: format string is defined here
     546 |  dbg_gen("ino %lu, pos %llu, pg %lu, len %u, copied %d, i_size %lld",
         |               ~~^
         |                 |
         |                 long unsigned int
         |               %llu
   In file included from include/linux/kernel.h:15,
                    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/ubifs/ubifs.h:16,
                    from fs/ubifs/file.c:40:
   fs/ubifs/file.c: In function 'populate_page':
>> fs/ubifs/debug.h:158:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |           ^~~~~~~~~~~~
   include/linux/printk.h:283:21: note: in definition of macro 'pr_fmt'
     283 | #define pr_fmt(fmt) fmt
         |                     ^~~
>> include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
     143 |  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
     153 |  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
         |  ^~~~~~~~~~~~~~~~~~
>> include/linux/printk.h:330:2: note: in expansion of macro 'dynamic_pr_debug'
     330 |  dynamic_pr_debug(fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~
>> fs/ubifs/debug.h:158:2: note: in expansion of macro 'pr_debug'
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |  ^~~~~~~~
   fs/ubifs/debug.h:170:29: note: in expansion of macro 'ubifs_dbg_msg'
     170 | #define dbg_gen(fmt, ...)   ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__)
         |                             ^~~~~~~~~~~~~
   fs/ubifs/file.c:616:2: note: in expansion of macro 'dbg_gen'
     616 |  dbg_gen("ino %lu, pg %lu, i_size %lld, flags %#lx",
         |  ^~~~~~~
   fs/ubifs/file.c:616:17: note: format string is defined here
     616 |  dbg_gen("ino %lu, pg %lu, i_size %lld, flags %#lx",
         |               ~~^
         |                 |
         |                 long unsigned int
         |               %llu
   fs/ubifs/file.c:704:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     704 |  ubifs_err(c, "bad data node (block %u, inode %lu)",
         |                                               ~~^
         |                                                 |
         |                                                 long unsigned int
         |                                               %llu
     705 |     page_block, inode->i_ino);
         |                 ~~~~~~~~~~~~                     
         |                      |
         |                      u64 {aka long long unsigned int}
   fs/ubifs/file.c: In function 'do_writepage':
   fs/ubifs/file.c:938:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     938 |   ubifs_err(c, "cannot write page %lu of inode %lu, error %d",
         |                                                ~~^
         |                                                  |
         |                                                  long unsigned int
         |                                                %llu
     939 |      page->index, inode->i_ino, err);
         |                   ~~~~~~~~~~~~                    
         |                        |
         |                        u64 {aka long long unsigned int}
   In file included from include/linux/kernel.h:15,
                    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/ubifs/ubifs.h:16,
                    from fs/ubifs/file.c:40:
   fs/ubifs/file.c: In function 'ubifs_writepage':
>> fs/ubifs/debug.h:158:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |           ^~~~~~~~~~~~
   include/linux/printk.h:283:21: note: in definition of macro 'pr_fmt'
     283 | #define pr_fmt(fmt) fmt
         |                     ^~~
>> include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
     143 |  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
     153 |  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
         |  ^~~~~~~~~~~~~~~~~~
   include/linux/printk.h:330:2: note: in expansion of macro 'dynamic_pr_debug'
     330 |  dynamic_pr_debug(fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~
   fs/ubifs/debug.h:158:2: note: in expansion of macro 'pr_debug'
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |  ^~~~~~~~
   fs/ubifs/debug.h:170:29: note: in expansion of macro 'ubifs_dbg_msg'
     170 | #define dbg_gen(fmt, ...)   ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__)
         |                             ^~~~~~~~~~~~~
   fs/ubifs/file.c:1015:2: note: in expansion of macro 'dbg_gen'
    1015 |  dbg_gen("ino %lu, pg %lu, pg flags %#lx",
         |  ^~~~~~~
   fs/ubifs/file.c:1015:17: note: format string is defined here
    1015 |  dbg_gen("ino %lu, pg %lu, pg flags %#lx",
         |               ~~^
         |                 |
         |                 long unsigned int
         |               %llu
   In file included from include/linux/kernel.h:15,
                    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/ubifs/ubifs.h:16,
                    from fs/ubifs/file.c:40:
   fs/ubifs/file.c: In function 'ubifs_setattr':
   fs/ubifs/debug.h:158:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |           ^~~~~~~~~~~~
   include/linux/printk.h:283:21: note: in definition of macro 'pr_fmt'
     283 | #define pr_fmt(fmt) fmt
         |                     ^~~
   include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
     143 |  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
     153 |  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
         |  ^~~~~~~~~~~~~~~~~~
   include/linux/printk.h:330:2: note: in expansion of macro 'dynamic_pr_debug'
     330 |  dynamic_pr_debug(fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~~
   fs/ubifs/debug.h:158:2: note: in expansion of macro 'pr_debug'
     158 |  pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid,       \
         |  ^~~~~~~~
   fs/ubifs/debug.h:170:29: note: in expansion of macro 'ubifs_dbg_msg'
     170 | #define dbg_gen(fmt, ...)   ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__)
         |                             ^~~~~~~~~~~~~
   fs/ubifs/file.c:1266:2: note: in expansion of macro 'dbg_gen'
    1266 |  dbg_gen("ino %lu, mode %#x, ia_valid %#x",
         |  ^~~~~~~
   fs/ubifs/file.c:1266:17: note: format string is defined here
    1266 |  dbg_gen("ino %lu, mode %#x, ia_valid %#x",
         |               ~~^
         |                 |
         |                 long unsigned int
         |               %llu
   fs/ubifs/file.c: In function 'ubifs_vm_page_mkwrite':
   fs/ubifs/file.c:1556:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
    1556 |    ubifs_warn(c, "out of space for mmapped file (inode number %lu)",
         |                                                               ~~^
         |                                                                 |
         |                                                                 long unsigned int
         |                                                               %llu
    1557 |        inode->i_ino);
         |        ~~~~~~~~~~~~                                              
         |             |
         |             u64 {aka long long unsigned int}
..

vim +124 fs/notify/fdinfo.c

be77196b809cdc Cyrill Gorcunov 2012-12-17  111  
a3816ab0e8fe54 Joe Perches     2014-09-29  112  static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark)
be77196b809cdc Cyrill Gorcunov 2012-12-17  113  {
e6dbcafb744ab9 Cyrill Gorcunov 2012-12-17  114  	unsigned int mflags = 0;
be77196b809cdc Cyrill Gorcunov 2012-12-17  115  	struct inode *inode;
be77196b809cdc Cyrill Gorcunov 2012-12-17  116  
e6dbcafb744ab9 Cyrill Gorcunov 2012-12-17  117  	if (mark->flags & FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY)
e6dbcafb744ab9 Cyrill Gorcunov 2012-12-17  118  		mflags |= FAN_MARK_IGNORED_SURV_MODIFY;
e6dbcafb744ab9 Cyrill Gorcunov 2012-12-17  119  
d6f7b98bc8147a Amir Goldstein  2018-04-20  120  	if (mark->connector->type == FSNOTIFY_OBJ_TYPE_INODE) {
36f10f55ff1d28 Amir Goldstein  2018-06-23  121  		inode = igrab(fsnotify_conn_inode(mark->connector));
be77196b809cdc Cyrill Gorcunov 2012-12-17  122  		if (!inode)
a3816ab0e8fe54 Joe Perches     2014-09-29  123  			return;
a3816ab0e8fe54 Joe Perches     2014-09-29 @124  		seq_printf(m, "fanotify ino:%lx sdev:%x mflags:%x mask:%x ignored_mask:%x ",
be77196b809cdc Cyrill Gorcunov 2012-12-17  125  			   inode->i_ino, inode->i_sb->s_dev,
e6dbcafb744ab9 Cyrill Gorcunov 2012-12-17  126  			   mflags, mark->mask, mark->ignored_mask);
a3816ab0e8fe54 Joe Perches     2014-09-29  127  		show_mark_fhandle(m, inode);
a3816ab0e8fe54 Joe Perches     2014-09-29  128  		seq_putc(m, '\n');
be77196b809cdc Cyrill Gorcunov 2012-12-17  129  		iput(inode);
d6f7b98bc8147a Amir Goldstein  2018-04-20  130  	} else if (mark->connector->type == FSNOTIFY_OBJ_TYPE_VFSMOUNT) {
36f10f55ff1d28 Amir Goldstein  2018-06-23  131  		struct mount *mnt = fsnotify_conn_mount(mark->connector);
be77196b809cdc Cyrill Gorcunov 2012-12-17  132  
a3816ab0e8fe54 Joe Perches     2014-09-29  133  		seq_printf(m, "fanotify mnt_id:%x mflags:%x mask:%x ignored_mask:%x\n",
a3816ab0e8fe54 Joe Perches     2014-09-29  134  			   mnt->mnt_id, mflags, mark->mask, mark->ignored_mask);
1e6cb72399fd58 Amir Goldstein  2018-09-01  135  	} else if (mark->connector->type == FSNOTIFY_OBJ_TYPE_SB) {
1e6cb72399fd58 Amir Goldstein  2018-09-01  136  		struct super_block *sb = fsnotify_conn_sb(mark->connector);
1e6cb72399fd58 Amir Goldstein  2018-09-01  137  
1e6cb72399fd58 Amir Goldstein  2018-09-01  138  		seq_printf(m, "fanotify sdev:%x mflags:%x mask:%x ignored_mask:%x\n",
1e6cb72399fd58 Amir Goldstein  2018-09-01  139  			   sb->s_dev, mflags, mark->mask, mark->ignored_mask);
be77196b809cdc Cyrill Gorcunov 2012-12-17  140  	}
be77196b809cdc Cyrill Gorcunov 2012-12-17  141  }
be77196b809cdc Cyrill Gorcunov 2012-12-17  142  

:::::: The code at line 124 was first introduced by commit
:::::: a3816ab0e8fe542a89a53b82506a8ddac063fbe3 fs: Convert show_fdinfo functions to void

:::::: TO: Joe Perches <joe@perches.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-05 12:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-05 12:31 [hch-misc:i_ino-u64 1/1] fs/notify/fdinfo.c:124:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.