linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/mips/sibyte/sb1250/setup.c:79:5: warning: no previous prototype for 'sb1250_m3_workaround_needed'
@ 2021-08-18 18:13 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-08-18 18:13 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: kbuild-all, linux-kernel

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

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   614cb2751d3150850d459bee596c397f344a7936
commit: ab5743079b8e3d3d4309664903f6b1f579168a56 MIPS: Get rid of BCM1250_M3_WAR
date:   12 months ago
config: mips-randconfig-r025-20210818 (attached as .config)
compiler: mipsel-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ab5743079b8e3d3d4309664903f6b1f579168a56
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ab5743079b8e3d3d4309664903f6b1f579168a56
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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 warnings (new ones prefixed by >>):

>> arch/mips/sibyte/sb1250/setup.c:79:5: warning: no previous prototype for 'sb1250_m3_workaround_needed' [-Wmissing-prototypes]
      79 | int sb1250_m3_workaround_needed(void)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/mips/sibyte/sb1250/setup.c:168:13: warning: no previous prototype for 'sb1250_setup' [-Wmissing-prototypes]
     168 | void __init sb1250_setup(void)
         |             ^~~~~~~~~~~~


vim +/sb1250_m3_workaround_needed +79 arch/mips/sibyte/sb1250/setup.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  78  
8d9df29db273ab Ralf Baechle   2010-03-23 @79  int sb1250_m3_workaround_needed(void)
8d9df29db273ab Ralf Baechle   2010-03-23  80  {
8d9df29db273ab Ralf Baechle   2010-03-23  81  	switch (soc_type) {
8d9df29db273ab Ralf Baechle   2010-03-23  82  	case K_SYS_SOC_TYPE_BCM1250:
8d9df29db273ab Ralf Baechle   2010-03-23  83  	case K_SYS_SOC_TYPE_BCM1250_ALT:
8d9df29db273ab Ralf Baechle   2010-03-23  84  	case K_SYS_SOC_TYPE_BCM1250_ALT2:
8d9df29db273ab Ralf Baechle   2010-03-23  85  	case K_SYS_SOC_TYPE_BCM1125:
8d9df29db273ab Ralf Baechle   2010-03-23  86  	case K_SYS_SOC_TYPE_BCM1125H:
8d9df29db273ab Ralf Baechle   2010-03-23  87  		return soc_pass < K_SYS_REVISION_BCM1250_C0;
8d9df29db273ab Ralf Baechle   2010-03-23  88  
8d9df29db273ab Ralf Baechle   2010-03-23  89  	default:
8d9df29db273ab Ralf Baechle   2010-03-23  90  		return 0;
8d9df29db273ab Ralf Baechle   2010-03-23  91  	}
8d9df29db273ab Ralf Baechle   2010-03-23  92  }
8d9df29db273ab Ralf Baechle   2010-03-23  93  

:::::: The code at line 79 was first introduced by commit
:::::: 8d9df29db273ab9a330828f4f4f6669d293a730a MIPS: Sibyte: Apply M3 workaround only on affected chip types and versions.

:::::: TO: Ralf Baechle <ralf@linux-mips.org>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

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

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

* arch/mips/sibyte/sb1250/setup.c:79:5: warning: no previous prototype for 'sb1250_m3_workaround_needed'
@ 2021-11-13  3:21 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-11-13  3:21 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   66f4beaa6c1d28161f534471484b2daa2de1dce0
commit: ab5743079b8e3d3d4309664903f6b1f579168a56 MIPS: Get rid of BCM1250_M3_WAR
date:   1 year, 2 months ago
config: mips-randconfig-r004-20211008 (attached as .config)
compiler: mipsel-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ab5743079b8e3d3d4309664903f6b1f579168a56
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ab5743079b8e3d3d4309664903f6b1f579168a56
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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 warnings (new ones prefixed by >>):

>> arch/mips/sibyte/sb1250/setup.c:79:5: warning: no previous prototype for 'sb1250_m3_workaround_needed' [-Wmissing-prototypes]
      79 | int sb1250_m3_workaround_needed(void)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/mips/sibyte/sb1250/setup.c:168:13: warning: no previous prototype for 'sb1250_setup' [-Wmissing-prototypes]
     168 | void __init sb1250_setup(void)
         |             ^~~~~~~~~~~~


vim +/sb1250_m3_workaround_needed +79 arch/mips/sibyte/sb1250/setup.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  78  
8d9df29db273ab Ralf Baechle   2010-03-23 @79  int sb1250_m3_workaround_needed(void)
8d9df29db273ab Ralf Baechle   2010-03-23  80  {
8d9df29db273ab Ralf Baechle   2010-03-23  81  	switch (soc_type) {
8d9df29db273ab Ralf Baechle   2010-03-23  82  	case K_SYS_SOC_TYPE_BCM1250:
8d9df29db273ab Ralf Baechle   2010-03-23  83  	case K_SYS_SOC_TYPE_BCM1250_ALT:
8d9df29db273ab Ralf Baechle   2010-03-23  84  	case K_SYS_SOC_TYPE_BCM1250_ALT2:
8d9df29db273ab Ralf Baechle   2010-03-23  85  	case K_SYS_SOC_TYPE_BCM1125:
8d9df29db273ab Ralf Baechle   2010-03-23  86  	case K_SYS_SOC_TYPE_BCM1125H:
8d9df29db273ab Ralf Baechle   2010-03-23  87  		return soc_pass < K_SYS_REVISION_BCM1250_C0;
8d9df29db273ab Ralf Baechle   2010-03-23  88  
8d9df29db273ab Ralf Baechle   2010-03-23  89  	default:
8d9df29db273ab Ralf Baechle   2010-03-23  90  		return 0;
8d9df29db273ab Ralf Baechle   2010-03-23  91  	}
8d9df29db273ab Ralf Baechle   2010-03-23  92  }
8d9df29db273ab Ralf Baechle   2010-03-23  93  

:::::: The code at line 79 was first introduced by commit
:::::: 8d9df29db273ab9a330828f4f4f6669d293a730a MIPS: Sibyte: Apply M3 workaround only on affected chip types and versions.

:::::: TO: Ralf Baechle <ralf@linux-mips.org>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

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

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

* arch/mips/sibyte/sb1250/setup.c:79:5: warning: no previous prototype for 'sb1250_m3_workaround_needed'
@ 2021-08-04 11:35 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-08-04 11:35 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: kbuild-all, linux-kernel

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

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d5ad8ec3cfb56a017de6a784835666475b4be349
commit: ab5743079b8e3d3d4309664903f6b1f579168a56 MIPS: Get rid of BCM1250_M3_WAR
date:   11 months ago
config: mips-randconfig-r031-20210804 (attached as .config)
compiler: mips64-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=ab5743079b8e3d3d4309664903f6b1f579168a56
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ab5743079b8e3d3d4309664903f6b1f579168a56
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.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 warnings (new ones prefixed by >>):

>> arch/mips/sibyte/sb1250/setup.c:79:5: warning: no previous prototype for 'sb1250_m3_workaround_needed' [-Wmissing-prototypes]
      79 | int sb1250_m3_workaround_needed(void)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/mips/sibyte/sb1250/setup.c:168:13: warning: no previous prototype for 'sb1250_setup' [-Wmissing-prototypes]
     168 | void __init sb1250_setup(void)
         |             ^~~~~~~~~~~~


vim +/sb1250_m3_workaround_needed +79 arch/mips/sibyte/sb1250/setup.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  78  
8d9df29db273ab Ralf Baechle   2010-03-23 @79  int sb1250_m3_workaround_needed(void)
8d9df29db273ab Ralf Baechle   2010-03-23  80  {
8d9df29db273ab Ralf Baechle   2010-03-23  81  	switch (soc_type) {
8d9df29db273ab Ralf Baechle   2010-03-23  82  	case K_SYS_SOC_TYPE_BCM1250:
8d9df29db273ab Ralf Baechle   2010-03-23  83  	case K_SYS_SOC_TYPE_BCM1250_ALT:
8d9df29db273ab Ralf Baechle   2010-03-23  84  	case K_SYS_SOC_TYPE_BCM1250_ALT2:
8d9df29db273ab Ralf Baechle   2010-03-23  85  	case K_SYS_SOC_TYPE_BCM1125:
8d9df29db273ab Ralf Baechle   2010-03-23  86  	case K_SYS_SOC_TYPE_BCM1125H:
8d9df29db273ab Ralf Baechle   2010-03-23  87  		return soc_pass < K_SYS_REVISION_BCM1250_C0;
8d9df29db273ab Ralf Baechle   2010-03-23  88  
8d9df29db273ab Ralf Baechle   2010-03-23  89  	default:
8d9df29db273ab Ralf Baechle   2010-03-23  90  		return 0;
8d9df29db273ab Ralf Baechle   2010-03-23  91  	}
8d9df29db273ab Ralf Baechle   2010-03-23  92  }
8d9df29db273ab Ralf Baechle   2010-03-23  93  

:::::: The code at line 79 was first introduced by commit
:::::: 8d9df29db273ab9a330828f4f4f6669d293a730a MIPS: Sibyte: Apply M3 workaround only on affected chip types and versions.

:::::: TO: Ralf Baechle <ralf@linux-mips.org>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

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

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

end of thread, other threads:[~2021-11-13  3:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18 18:13 arch/mips/sibyte/sb1250/setup.c:79:5: warning: no previous prototype for 'sb1250_m3_workaround_needed' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-11-13  3:21 kernel test robot
2021-08-04 11:35 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).