From: kernel test robot <lkp@intel.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: arch/mips/sibyte/sb1250/setup.c:79:5: warning: no previous prototype for 'sb1250_m3_workaround_needed'
Date: Sat, 13 Nov 2021 11:21:49 +0800 [thread overview]
Message-ID: <202111131133.QgEmbNoN-lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2021-11-13 3:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-13 3:21 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
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
2021-08-04 11:35 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111131133.QgEmbNoN-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).