LKML Archive on
help / color / mirror / Atom feed
From: kernel test robot <>
To: Amir Goldstein <>
Subject: [amir73il:fsnotify_event_info 2/2] include/linux/fsnotify.h:263:2: error: implicit declaration of function 'fsnotify_file'; did you mean 'fsnotify_link'?
Date: Tue, 3 Aug 2021 19:30:35 +0800	[thread overview]
Message-ID: <> (raw)

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

tree: fsnotify_event_info
head:   4ad14805402352430e0b98901b97ec9166d9dae4
commit: 4ad14805402352430e0b98901b97ec9166d9dae4 [2/2] fsnotify: fast path optimization for IO on pipe with no watches
config: sparc-randconfig-r026-20210803 (attached as .config)
compiler: sparc-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add amir73il
        git fetch --no-tags amir73il fsnotify_event_info
        git checkout 4ad14805402352430e0b98901b97ec9166d9dae4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=sparc 

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

All errors (new ones prefixed by >>):

   In file included from fs/notify/fsnotify.h:6,
                    from fs/notify/fsnotify.c:15:
   include/linux/fsnotify.h: In function 'fsnotify_access':
>> include/linux/fsnotify.h:263:2: error: implicit declaration of function 'fsnotify_file'; did you mean 'fsnotify_link'? [-Werror=implicit-function-declaration]
     263 |  fsnotify_file(file, FS_ACCESS);
         |  ^~~~~~~~~~~~~
         |  fsnotify_link
   cc1: some warnings being treated as errors

vim +263 include/linux/fsnotify.h

116b9731ad7614 Amir Goldstein 2019-05-26  257  
0eeca28300df11 Robert Love    2005-07-12  258  /*
0eeca28300df11 Robert Love    2005-07-12  259   * fsnotify_access - file was read
0eeca28300df11 Robert Love    2005-07-12  260   */
2a12a9d7814631 Eric Paris     2009-12-17  261  static inline void fsnotify_access(struct file *file)
0eeca28300df11 Robert Love    2005-07-12  262  {
eae36a2b8324c9 Amir Goldstein 2020-03-19 @263  	fsnotify_file(file, FS_ACCESS);
ecf081d1a73b07 Eric Paris     2009-12-17  264  }
0eeca28300df11 Robert Love    2005-07-12  265  

:::::: The code at line 263 was first introduced by commit
:::::: eae36a2b8324c9dd0a66b2ae32abd4a456e49c39 fsnotify: factor helpers fsnotify_dentry() and fsnotify_file()

:::::: TO: Amir Goldstein <>
:::::: CC: Jan Kara <>

0-DAY CI Kernel Test Service, Intel Corporation

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

             reply	other threads:[~2021-08-03 11:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03 11:30 kernel test robot [this message]
2021-08-03 15:47 ` Amir Goldstein

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:

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

  git send-email \ \ \ \ \ \
    --subject='Re: [amir73il:fsnotify_event_info 2/2] include/linux/fsnotify.h:263:2: error: implicit declaration of function '\''fsnotify_file'\''; did you mean '\''fsnotify_link'\''?' \

* 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).