All of lore.kernel.org
 help / color / mirror / Atom feed
* [amir73il:fsnotify_event_info 2/2] include/linux/fsnotify.h:263:2: error: implicit declaration of function 'fsnotify_file'; did you mean 'fsnotify_link'?
@ 2021-08-03 11:30 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-08-03 11:30 UTC (permalink / raw)
  To: Amir Goldstein; +Cc: kbuild-all, linux-kernel

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

tree:   https://github.com/amir73il/linux 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 https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/amir73il/linux/commit/4ad14805402352430e0b98901b97ec9166d9dae4
        git remote add amir73il https://github.com/amir73il/linux
        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 <lkp@intel.com>

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 <amir73il@gmail.com>
:::::: CC: Jan Kara <jack@suse.cz>

---
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: 31229 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [amir73il:fsnotify_event_info 2/2] include/linux/fsnotify.h:263:2: error: implicit declaration of function 'fsnotify_file'; did you mean 'fsnotify_link'?
@ 2021-08-03 11:30 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-08-03 11:30 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/amir73il/linux 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 https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/amir73il/linux/commit/4ad14805402352430e0b98901b97ec9166d9dae4
        git remote add amir73il https://github.com/amir73il/linux
        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 <lkp@intel.com>

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 <amir73il@gmail.com>
:::::: CC: Jan Kara <jack@suse.cz>

---
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: 31229 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 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'?
  2021-08-03 11:30 ` kernel test robot
@ 2021-08-03 15:47   ` Amir Goldstein
  -1 siblings, 0 replies; 4+ messages in thread
From: Amir Goldstein @ 2021-08-03 15:47 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel

On Tue, Aug 3, 2021 at 2:31 PM kernel test robot <lkp@intel.com> wrote:
>
> tree:   https://github.com/amir73il/linux 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 https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://github.com/amir73il/linux/commit/4ad14805402352430e0b98901b97ec9166d9dae4
>         git remote add amir73il https://github.com/amir73il/linux
>         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 <lkp@intel.com>
>
> 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
>

That's odd. fsnotify_event_info is just an arbitrary branch in my tree
where I pushed some WIP code. I don't remember posting it to the
list, I'm not sure why the kernel robot tested it...

Thanks,
Amir.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 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'?
@ 2021-08-03 15:47   ` Amir Goldstein
  0 siblings, 0 replies; 4+ messages in thread
From: Amir Goldstein @ 2021-08-03 15:47 UTC (permalink / raw)
  To: kbuild-all

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

On Tue, Aug 3, 2021 at 2:31 PM kernel test robot <lkp@intel.com> wrote:
>
> tree:   https://github.com/amir73il/linux 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 https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://github.com/amir73il/linux/commit/4ad14805402352430e0b98901b97ec9166d9dae4
>         git remote add amir73il https://github.com/amir73il/linux
>         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 <lkp@intel.com>
>
> 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
>

That's odd. fsnotify_event_info is just an arbitrary branch in my tree
where I pushed some WIP code. I don't remember posting it to the
list, I'm not sure why the kernel robot tested it...

Thanks,
Amir.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-03 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 11:30 [amir73il:fsnotify_event_info 2/2] include/linux/fsnotify.h:263:2: error: implicit declaration of function 'fsnotify_file'; did you mean 'fsnotify_link'? kernel test robot
2021-08-03 11:30 ` kernel test robot
2021-08-03 15:47 ` Amir Goldstein
2021-08-03 15:47   ` Amir Goldstein

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.