linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* crypto/async_tx/raid6test.c:44:13: error: 'disk_type' redeclared as different kind of symbol
@ 2021-07-11  9:58 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-11  9:58 UTC (permalink / raw)
  To: Boris Burkov; +Cc: kbuild-all, linux-kernel, Jens Axboe

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

Hi Boris,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   de5540965853e514a85d3b775e9049deb85a2ff3
commit: ef45fe470e1e5410db4af87abc5d5055427945ac blk-cgroup: show global disk stats in root cgroup io.stat
date:   12 months ago
config: mips-randconfig-r035-20210711 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ef45fe470e1e5410db4af87abc5d5055427945ac
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ef45fe470e1e5410db4af87abc5d5055427945ac
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash crypto/async_tx/

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 >>):

>> crypto/async_tx/raid6test.c:44:13: error: 'disk_type' redeclared as different kind of symbol
      44 | static char disk_type(int d, int disks)
         |             ^~~~~~~~~
   In file included from arch/mips/include/asm/mach-rc32434/rb.h:10,
                    from arch/mips/include/asm/mach-rc32434/irq.h:8,
                    from arch/mips/include/asm/irq.h:18,
                    from include/linux/irq.h:23,
                    from include/asm-generic/hardirq.h:13,
                    from arch/mips/include/asm/hardirq.h:16,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/async_tx.h:9,
                    from crypto/async_tx/raid6test.c:9:
   include/linux/genhd.h:27:33: note: previous declaration of 'disk_type' was here
      27 | extern const struct device_type disk_type;
         |                                 ^~~~~~~~~


vim +/disk_type +44 crypto/async_tx/raid6test.c

cb3c82992f62f8 Dan Williams 2009-07-14  43  
cb3c82992f62f8 Dan Williams 2009-07-14 @44  static char disk_type(int d, int disks)
cb3c82992f62f8 Dan Williams 2009-07-14  45  {
cb3c82992f62f8 Dan Williams 2009-07-14  46  	if (d == disks - 2)
cb3c82992f62f8 Dan Williams 2009-07-14  47  		return 'P';
cb3c82992f62f8 Dan Williams 2009-07-14  48  	else if (d == disks - 1)
cb3c82992f62f8 Dan Williams 2009-07-14  49  		return 'Q';
cb3c82992f62f8 Dan Williams 2009-07-14  50  	else
cb3c82992f62f8 Dan Williams 2009-07-14  51  		return 'D';
cb3c82992f62f8 Dan Williams 2009-07-14  52  }
cb3c82992f62f8 Dan Williams 2009-07-14  53  

:::::: The code at line 44 was first introduced by commit
:::::: cb3c82992f62f838e6476a0bff12909158007fc6 async_tx: raid6 recovery self test

:::::: TO: Dan Williams <dan.j.williams@intel.com>
:::::: CC: Dan Williams <dan.j.williams@intel.com>

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

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

* crypto/async_tx/raid6test.c:44:13: error: 'disk_type' redeclared as different kind of symbol
@ 2021-07-22  1:41 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-22  1:41 UTC (permalink / raw)
  To: Boris Burkov; +Cc: kbuild-all, linux-kernel, Jens Axboe

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

Hi Boris,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3d5895cd351757f69c9a66fb5fc8cf19f454d773
commit: ef45fe470e1e5410db4af87abc5d5055427945ac blk-cgroup: show global disk stats in root cgroup io.stat
date:   1 year ago
config: mips-buildonly-randconfig-r003-20210721 (attached as .config)
compiler: mips-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ef45fe470e1e5410db4af87abc5d5055427945ac
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ef45fe470e1e5410db4af87abc5d5055427945ac
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash crypto/async_tx/

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 >>):

>> crypto/async_tx/raid6test.c:44:13: error: 'disk_type' redeclared as different kind of symbol
      44 | static char disk_type(int d, int disks)
         |             ^~~~~~~~~
   In file included from arch/mips/include/asm/mach-rc32434/rb.h:10,
                    from arch/mips/include/asm/mach-rc32434/irq.h:8,
                    from arch/mips/include/asm/irq.h:18,
                    from include/linux/irq.h:23,
                    from include/asm-generic/hardirq.h:13,
                    from arch/mips/include/asm/hardirq.h:16,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/async_tx.h:9,
                    from crypto/async_tx/raid6test.c:9:
   include/linux/genhd.h:27:33: note: previous declaration of 'disk_type' was here
      27 | extern const struct device_type disk_type;
         |                                 ^~~~~~~~~


vim +/disk_type +44 crypto/async_tx/raid6test.c

cb3c82992f62f8 Dan Williams 2009-07-14  43  
cb3c82992f62f8 Dan Williams 2009-07-14 @44  static char disk_type(int d, int disks)
cb3c82992f62f8 Dan Williams 2009-07-14  45  {
cb3c82992f62f8 Dan Williams 2009-07-14  46  	if (d == disks - 2)
cb3c82992f62f8 Dan Williams 2009-07-14  47  		return 'P';
cb3c82992f62f8 Dan Williams 2009-07-14  48  	else if (d == disks - 1)
cb3c82992f62f8 Dan Williams 2009-07-14  49  		return 'Q';
cb3c82992f62f8 Dan Williams 2009-07-14  50  	else
cb3c82992f62f8 Dan Williams 2009-07-14  51  		return 'D';
cb3c82992f62f8 Dan Williams 2009-07-14  52  }
cb3c82992f62f8 Dan Williams 2009-07-14  53  

:::::: The code at line 44 was first introduced by commit
:::::: cb3c82992f62f838e6476a0bff12909158007fc6 async_tx: raid6 recovery self test

:::::: TO: Dan Williams <dan.j.williams@intel.com>
:::::: CC: Dan Williams <dan.j.williams@intel.com>

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

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

* crypto/async_tx/raid6test.c:44:13: error: 'disk_type' redeclared as different kind of symbol
@ 2021-02-04  5:11 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-02-04  5:11 UTC (permalink / raw)
  To: Boris Burkov; +Cc: kbuild-all, linux-kernel, Jens Axboe

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   61556703b610a104de324e4f061dc6cf7b218b46
commit: ef45fe470e1e5410db4af87abc5d5055427945ac blk-cgroup: show global disk stats in root cgroup io.stat
date:   7 months ago
config: mips-randconfig-r001-20210204 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ef45fe470e1e5410db4af87abc5d5055427945ac
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ef45fe470e1e5410db4af87abc5d5055427945ac
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

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 >>):

>> crypto/async_tx/raid6test.c:44:13: error: 'disk_type' redeclared as different kind of symbol
      44 | static char disk_type(int d, int disks)
         |             ^~~~~~~~~
   In file included from arch/mips/include/asm/mach-rc32434/rb.h:10,
                    from arch/mips/include/asm/mach-rc32434/irq.h:8,
                    from arch/mips/include/asm/irq.h:18,
                    from include/linux/irq.h:23,
                    from include/asm-generic/hardirq.h:13,
                    from arch/mips/include/asm/hardirq.h:16,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/async_tx.h:9,
                    from crypto/async_tx/raid6test.c:9:
   include/linux/genhd.h:27:33: note: previous declaration of 'disk_type' was here
      27 | extern const struct device_type disk_type;
         |                                 ^~~~~~~~~


vim +/disk_type +44 crypto/async_tx/raid6test.c

cb3c82992f62f8 Dan Williams 2009-07-14  43  
cb3c82992f62f8 Dan Williams 2009-07-14 @44  static char disk_type(int d, int disks)
cb3c82992f62f8 Dan Williams 2009-07-14  45  {
cb3c82992f62f8 Dan Williams 2009-07-14  46  	if (d == disks - 2)
cb3c82992f62f8 Dan Williams 2009-07-14  47  		return 'P';
cb3c82992f62f8 Dan Williams 2009-07-14  48  	else if (d == disks - 1)
cb3c82992f62f8 Dan Williams 2009-07-14  49  		return 'Q';
cb3c82992f62f8 Dan Williams 2009-07-14  50  	else
cb3c82992f62f8 Dan Williams 2009-07-14  51  		return 'D';
cb3c82992f62f8 Dan Williams 2009-07-14  52  }
cb3c82992f62f8 Dan Williams 2009-07-14  53  

:::::: The code at line 44 was first introduced by commit
:::::: cb3c82992f62f838e6476a0bff12909158007fc6 async_tx: raid6 recovery self test

:::::: TO: Dan Williams <dan.j.williams@intel.com>
:::::: CC: Dan Williams <dan.j.williams@intel.com>

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

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

end of thread, other threads:[~2021-07-22  1:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11  9:58 crypto/async_tx/raid6test.c:44:13: error: 'disk_type' redeclared as different kind of symbol kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-07-22  1:41 kernel test robot
2021-02-04  5:11 kernel test robot

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