All of lore.kernel.org
 help / color / mirror / Atom feed
* [goldwynr:iomap 24/33] fs/btrfs/file.c:485:22: error: initialization of 'void (*)(struct inode *, loff_t,  unsigned int,  struct page *)' {aka 'void (*)(struct inode *, long long int,  unsigned int,  struct page *)'} from incompatible pointer type 'void (*)(struct inode *, loff...
@ 2021-12-30  5:52 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-30  5:52 UTC (permalink / raw)
  To: Goldwyn Rodrigues; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/goldwynr/linux iomap
head:   30c74a8c201365178cae26d0d7aefa120c3245ab
commit: 528f37bbbb59a7cf5ec08a7512eb7f86904e3684 [24/33] btrfs: define iomap_page_ops
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20211230/202112301342.KO6jKDK5-lkp@intel.com/config)
compiler: m68k-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/goldwynr/linux/commit/528f37bbbb59a7cf5ec08a7512eb7f86904e3684
        git remote add goldwynr https://github.com/goldwynr/linux
        git fetch --no-tags goldwynr iomap
        git checkout 528f37bbbb59a7cf5ec08a7512eb7f86904e3684
        # 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=m68k SHELL=/bin/bash fs/btrfs/

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

Note: the goldwynr/iomap HEAD 30c74a8c201365178cae26d0d7aefa120c3245ab builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> fs/btrfs/file.c:485:22: error: initialization of 'void (*)(struct inode *, loff_t,  unsigned int,  struct page *)' {aka 'void (*)(struct inode *, long long int,  unsigned int,  struct page *)'} from incompatible pointer type 'void (*)(struct inode *, loff_t,  unsigned int,  struct page *, struct iomap *)' {aka 'void (*)(struct inode *, long long int,  unsigned int,  struct page *, struct iomap *)'} [-Werror=incompatible-pointer-types]
     485 |         .page_done = btrfs_page_done,
         |                      ^~~~~~~~~~~~~~~
   fs/btrfs/file.c:485:22: note: (near initialization for 'btrfs_iomap_page_ops.page_done')
   fs/btrfs/file.c: In function 'btrfs_buffered_iomap_end':
   fs/btrfs/file.c:1715:29: error: 'bi' redeclared as different kind of symbol
    1715 |         struct btrfs_iomap *bi = iomap->private;
         |                             ^~
   fs/btrfs/file.c:1712:69: note: previous definition of 'bi' with type 'struct btrfs_iomap *'
    1712 |                 loff_t length, ssize_t written, struct btrfs_iomap *bi)
         |                                                 ~~~~~~~~~~~~~~~~~~~~^~
   fs/btrfs/file.c:1715:34: error: 'iomap' undeclared (first use in this function)
    1715 |         struct btrfs_iomap *bi = iomap->private;
         |                                  ^~~~~
   fs/btrfs/file.c:1715:34: note: each undeclared identifier is reported only once for each function it appears in
   At top level:
   fs/btrfs/file.c:484:36: warning: 'btrfs_iomap_page_ops' defined but not used [-Wunused-const-variable=]
     484 | static const struct iomap_page_ops btrfs_iomap_page_ops = {
         |                                    ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +485 fs/btrfs/file.c

   483	
   484	static const struct iomap_page_ops btrfs_iomap_page_ops = {
 > 485		.page_done = btrfs_page_done,
   486	};
   487	

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

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

* [goldwynr:iomap 24/33] fs/btrfs/file.c:485:22: error: initialization of 'void (*)(struct inode *, loff_t, unsigned int, struct page *)' {aka 'void (*)(struct inode *, long long int, unsigned int, struct page *)'} from incompatible pointer type 'void (*)(struct inode *, loff...
@ 2021-12-30  5:52 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-30  5:52 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/goldwynr/linux iomap
head:   30c74a8c201365178cae26d0d7aefa120c3245ab
commit: 528f37bbbb59a7cf5ec08a7512eb7f86904e3684 [24/33] btrfs: define iomap_page_ops
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20211230/202112301342.KO6jKDK5-lkp(a)intel.com/config)
compiler: m68k-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/goldwynr/linux/commit/528f37bbbb59a7cf5ec08a7512eb7f86904e3684
        git remote add goldwynr https://github.com/goldwynr/linux
        git fetch --no-tags goldwynr iomap
        git checkout 528f37bbbb59a7cf5ec08a7512eb7f86904e3684
        # 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=m68k SHELL=/bin/bash fs/btrfs/

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

Note: the goldwynr/iomap HEAD 30c74a8c201365178cae26d0d7aefa120c3245ab builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> fs/btrfs/file.c:485:22: error: initialization of 'void (*)(struct inode *, loff_t,  unsigned int,  struct page *)' {aka 'void (*)(struct inode *, long long int,  unsigned int,  struct page *)'} from incompatible pointer type 'void (*)(struct inode *, loff_t,  unsigned int,  struct page *, struct iomap *)' {aka 'void (*)(struct inode *, long long int,  unsigned int,  struct page *, struct iomap *)'} [-Werror=incompatible-pointer-types]
     485 |         .page_done = btrfs_page_done,
         |                      ^~~~~~~~~~~~~~~
   fs/btrfs/file.c:485:22: note: (near initialization for 'btrfs_iomap_page_ops.page_done')
   fs/btrfs/file.c: In function 'btrfs_buffered_iomap_end':
   fs/btrfs/file.c:1715:29: error: 'bi' redeclared as different kind of symbol
    1715 |         struct btrfs_iomap *bi = iomap->private;
         |                             ^~
   fs/btrfs/file.c:1712:69: note: previous definition of 'bi' with type 'struct btrfs_iomap *'
    1712 |                 loff_t length, ssize_t written, struct btrfs_iomap *bi)
         |                                                 ~~~~~~~~~~~~~~~~~~~~^~
   fs/btrfs/file.c:1715:34: error: 'iomap' undeclared (first use in this function)
    1715 |         struct btrfs_iomap *bi = iomap->private;
         |                                  ^~~~~
   fs/btrfs/file.c:1715:34: note: each undeclared identifier is reported only once for each function it appears in
   At top level:
   fs/btrfs/file.c:484:36: warning: 'btrfs_iomap_page_ops' defined but not used [-Wunused-const-variable=]
     484 | static const struct iomap_page_ops btrfs_iomap_page_ops = {
         |                                    ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +485 fs/btrfs/file.c

   483	
   484	static const struct iomap_page_ops btrfs_iomap_page_ops = {
 > 485		.page_done = btrfs_page_done,
   486	};
   487	

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

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

end of thread, other threads:[~2021-12-30  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30  5:52 [goldwynr:iomap 24/33] fs/btrfs/file.c:485:22: error: initialization of 'void (*)(struct inode *, loff_t, unsigned int, struct page *)' {aka 'void (*)(struct inode *, long long int, unsigned int, struct page *)'} from incompatible pointer type 'void (*)(struct inode *, loff kernel test robot
2021-12-30  5:52 ` kernel 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.