All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
@ 2020-08-27  9:40 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-08-27  9:40 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman

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

Hi Krzysztof,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   15bc20c6af4ceee97a1f90b43c0e386643c071b4
commit: 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0 usb: host: Enable compile testing for some of drivers
date:   8 months ago
config: sparc-randconfig-r004-20200827 (attached as .config)
compiler: sparc-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
        git checkout 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.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 warnings (new ones prefixed by >>):

>> drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
    1286 | #define PLATFORM_DRIVER  ehci_grlib_driver
         | 
   drivers/usb/host/ehci-hcd.c:1261: note: this is the location of the previous definition
    1261 | #define PLATFORM_DRIVER  ehci_hcd_sh_driver
         | 
   In file included from drivers/usb/host/ehci-hcd.c:1260:
   drivers/usb/host/ehci-sh.c:173:31: warning: 'ehci_hcd_sh_driver' defined but not used [-Wunused-variable]
     173 | static struct platform_driver ehci_hcd_sh_driver = {
         |                               ^~~~~~~~~~~~~~~~~~

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
vim +/PLATFORM_DRIVER +1286 drivers/usb/host/ehci-hcd.c

22ced6874fc47bb Anoop         2011-02-24  1283  
9be039298930636 Jan Andersson 2011-05-03  1284  #ifdef CONFIG_SPARC_LEON
9be039298930636 Jan Andersson 2011-05-03  1285  #include "ehci-grlib.c"
9be039298930636 Jan Andersson 2011-05-03 @1286  #define PLATFORM_DRIVER		ehci_grlib_driver
9be039298930636 Jan Andersson 2011-05-03  1287  #endif
9be039298930636 Jan Andersson 2011-05-03  1288  

:::::: The code at line 1286 was first introduced by commit
:::::: 9be0392989306361d4a63a06a8ee281efbead548 USB: EHCI: Add bus glue for GRLIB GRUSBHC controller

:::::: TO: Jan Andersson <jan@gaisler.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

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

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

* drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
@ 2020-08-27  9:40 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-08-27  9:40 UTC (permalink / raw)
  To: kbuild-all

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

Hi Krzysztof,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   15bc20c6af4ceee97a1f90b43c0e386643c071b4
commit: 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0 usb: host: Enable compile testing for some of drivers
date:   8 months ago
config: sparc-randconfig-r004-20200827 (attached as .config)
compiler: sparc-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
        git checkout 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.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 warnings (new ones prefixed by >>):

>> drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
    1286 | #define PLATFORM_DRIVER  ehci_grlib_driver
         | 
   drivers/usb/host/ehci-hcd.c:1261: note: this is the location of the previous definition
    1261 | #define PLATFORM_DRIVER  ehci_hcd_sh_driver
         | 
   In file included from drivers/usb/host/ehci-hcd.c:1260:
   drivers/usb/host/ehci-sh.c:173:31: warning: 'ehci_hcd_sh_driver' defined but not used [-Wunused-variable]
     173 | static struct platform_driver ehci_hcd_sh_driver = {
         |                               ^~~~~~~~~~~~~~~~~~

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
vim +/PLATFORM_DRIVER +1286 drivers/usb/host/ehci-hcd.c

22ced6874fc47bb Anoop         2011-02-24  1283  
9be039298930636 Jan Andersson 2011-05-03  1284  #ifdef CONFIG_SPARC_LEON
9be039298930636 Jan Andersson 2011-05-03  1285  #include "ehci-grlib.c"
9be039298930636 Jan Andersson 2011-05-03 @1286  #define PLATFORM_DRIVER		ehci_grlib_driver
9be039298930636 Jan Andersson 2011-05-03  1287  #endif
9be039298930636 Jan Andersson 2011-05-03  1288  

:::::: The code at line 1286 was first introduced by commit
:::::: 9be0392989306361d4a63a06a8ee281efbead548 USB: EHCI: Add bus glue for GRLIB GRUSBHC controller

:::::: TO: Jan Andersson <jan@gaisler.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

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

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

* drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
@ 2020-11-15  0:28 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-11-15  0:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman

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

Hi Krzysztof,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
commit: 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0 usb: host: Enable compile testing for some of drivers
date:   11 months ago
config: sparc-randconfig-r023-20201115 (attached as .config)
compiler: sparc-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=88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.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 warnings (new ones prefixed by >>):

>> drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
    1286 | #define PLATFORM_DRIVER  ehci_grlib_driver
         | 
   drivers/usb/host/ehci-hcd.c:1261: note: this is the location of the previous definition
    1261 | #define PLATFORM_DRIVER  ehci_hcd_sh_driver
         | 
   In file included from drivers/usb/host/ehci-hcd.c:1260:
   drivers/usb/host/ehci-sh.c:173:31: warning: 'ehci_hcd_sh_driver' defined but not used [-Wunused-variable]
     173 | static struct platform_driver ehci_hcd_sh_driver = {
         |                               ^~~~~~~~~~~~~~~~~~

vim +/PLATFORM_DRIVER +1286 drivers/usb/host/ehci-hcd.c

22ced6874fc47bb Anoop         2011-02-24  1283  
9be039298930636 Jan Andersson 2011-05-03  1284  #ifdef CONFIG_SPARC_LEON
9be039298930636 Jan Andersson 2011-05-03  1285  #include "ehci-grlib.c"
9be039298930636 Jan Andersson 2011-05-03 @1286  #define PLATFORM_DRIVER		ehci_grlib_driver
9be039298930636 Jan Andersson 2011-05-03  1287  #endif
9be039298930636 Jan Andersson 2011-05-03  1288  

:::::: The code at line 1286 was first introduced by commit
:::::: 9be0392989306361d4a63a06a8ee281efbead548 USB: EHCI: Add bus glue for GRLIB GRUSBHC controller

:::::: TO: Jan Andersson <jan@gaisler.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

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

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

* drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
@ 2020-11-15  0:28 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-11-15  0:28 UTC (permalink / raw)
  To: kbuild-all

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

Hi Krzysztof,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
commit: 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0 usb: host: Enable compile testing for some of drivers
date:   11 months ago
config: sparc-randconfig-r023-20201115 (attached as .config)
compiler: sparc-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=88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.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 warnings (new ones prefixed by >>):

>> drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
    1286 | #define PLATFORM_DRIVER  ehci_grlib_driver
         | 
   drivers/usb/host/ehci-hcd.c:1261: note: this is the location of the previous definition
    1261 | #define PLATFORM_DRIVER  ehci_hcd_sh_driver
         | 
   In file included from drivers/usb/host/ehci-hcd.c:1260:
   drivers/usb/host/ehci-sh.c:173:31: warning: 'ehci_hcd_sh_driver' defined but not used [-Wunused-variable]
     173 | static struct platform_driver ehci_hcd_sh_driver = {
         |                               ^~~~~~~~~~~~~~~~~~

vim +/PLATFORM_DRIVER +1286 drivers/usb/host/ehci-hcd.c

22ced6874fc47bb Anoop         2011-02-24  1283  
9be039298930636 Jan Andersson 2011-05-03  1284  #ifdef CONFIG_SPARC_LEON
9be039298930636 Jan Andersson 2011-05-03  1285  #include "ehci-grlib.c"
9be039298930636 Jan Andersson 2011-05-03 @1286  #define PLATFORM_DRIVER		ehci_grlib_driver
9be039298930636 Jan Andersson 2011-05-03  1287  #endif
9be039298930636 Jan Andersson 2011-05-03  1288  

:::::: The code at line 1286 was first introduced by commit
:::::: 9be0392989306361d4a63a06a8ee281efbead548 USB: EHCI: Add bus glue for GRLIB GRUSBHC controller

:::::: TO: Jan Andersson <jan@gaisler.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

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

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

* drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
@ 2020-07-30 11:56 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-07-30 11:56 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   83bdc7275e6206f560d247be856bceba3e1ed8f2
commit: 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0 usb: host: Enable compile testing for some of drivers
date:   7 months ago
config: sparc-randconfig-r032-20200730 (attached as .config)
compiler: sparc-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
        git checkout 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.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 warnings (new ones prefixed by >>):

>> drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
    1286 | #define PLATFORM_DRIVER  ehci_grlib_driver
         | 
   drivers/usb/host/ehci-hcd.c:1261: note: this is the location of the previous definition
    1261 | #define PLATFORM_DRIVER  ehci_hcd_sh_driver
         | 
   In file included from drivers/usb/host/ehci-hcd.c:1260:
   drivers/usb/host/ehci-sh.c:173:31: warning: 'ehci_hcd_sh_driver' defined but not used [-Wunused-variable]
     173 | static struct platform_driver ehci_hcd_sh_driver = {
         |                               ^~~~~~~~~~~~~~~~~~

vim +/PLATFORM_DRIVER +1286 drivers/usb/host/ehci-hcd.c

22ced6874fc47b Anoop         2011-02-24  1283  
9be03929893063 Jan Andersson 2011-05-03  1284  #ifdef CONFIG_SPARC_LEON
9be03929893063 Jan Andersson 2011-05-03  1285  #include "ehci-grlib.c"
9be03929893063 Jan Andersson 2011-05-03 @1286  #define PLATFORM_DRIVER		ehci_grlib_driver
9be03929893063 Jan Andersson 2011-05-03  1287  #endif
9be03929893063 Jan Andersson 2011-05-03  1288  

:::::: The code at line 1286 was first introduced by commit
:::::: 9be0392989306361d4a63a06a8ee281efbead548 USB: EHCI: Add bus glue for GRLIB GRUSBHC controller

:::::: TO: Jan Andersson <jan@gaisler.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

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

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

* drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
@ 2020-07-30 11:56 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-07-30 11:56 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   83bdc7275e6206f560d247be856bceba3e1ed8f2
commit: 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0 usb: host: Enable compile testing for some of drivers
date:   7 months ago
config: sparc-randconfig-r032-20200730 (attached as .config)
compiler: sparc-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
        git checkout 88eaaecc44461f9fb147bf7ee6ccc6d4e9fc23e0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.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 warnings (new ones prefixed by >>):

>> drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined
    1286 | #define PLATFORM_DRIVER  ehci_grlib_driver
         | 
   drivers/usb/host/ehci-hcd.c:1261: note: this is the location of the previous definition
    1261 | #define PLATFORM_DRIVER  ehci_hcd_sh_driver
         | 
   In file included from drivers/usb/host/ehci-hcd.c:1260:
   drivers/usb/host/ehci-sh.c:173:31: warning: 'ehci_hcd_sh_driver' defined but not used [-Wunused-variable]
     173 | static struct platform_driver ehci_hcd_sh_driver = {
         |                               ^~~~~~~~~~~~~~~~~~

vim +/PLATFORM_DRIVER +1286 drivers/usb/host/ehci-hcd.c

22ced6874fc47b Anoop         2011-02-24  1283  
9be03929893063 Jan Andersson 2011-05-03  1284  #ifdef CONFIG_SPARC_LEON
9be03929893063 Jan Andersson 2011-05-03  1285  #include "ehci-grlib.c"
9be03929893063 Jan Andersson 2011-05-03 @1286  #define PLATFORM_DRIVER		ehci_grlib_driver
9be03929893063 Jan Andersson 2011-05-03  1287  #endif
9be03929893063 Jan Andersson 2011-05-03  1288  

:::::: The code at line 1286 was first introduced by commit
:::::: 9be0392989306361d4a63a06a8ee281efbead548 USB: EHCI: Add bus glue for GRLIB GRUSBHC controller

:::::: TO: Jan Andersson <jan@gaisler.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

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

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

end of thread, other threads:[~2020-11-15  0:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27  9:40 drivers/usb/host/ehci-hcd.c:1286: warning: "PLATFORM_DRIVER" redefined kernel test robot
2020-08-27  9:40 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-11-15  0:28 kernel test robot
2020-11-15  0:28 ` kernel test robot
2020-07-30 11:56 kernel test robot
2020-07-30 11:56 ` 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.