From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Greg Ungerer <gerg@linux-m68k.org>
Subject: arch/m68k/68000/ucsimm.c:22:15: warning: no previous prototype for 'getserialnum'
Date: Thu, 30 Sep 2021 18:08:07 +0800 [thread overview]
Message-ID: <202109301859.BgEdRdbr-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2461 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 02d5e016800d082058b3d3b7c3ede136cdc6ddcb
commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files
date: 10 months ago
config: m68k-randconfig-r022-20210930 (attached as .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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a734bbf694270dca8594a5c33375867dc31503f5
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a734bbf694270dca8594a5c33375867dc31503f5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k
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 >>):
In file included from arch/m68k/68000/ucsimm.c:12:
>> arch/m68k/68000/ucsimm.c:22:15: warning: no previous prototype for 'getserialnum' [-Wmissing-prototypes]
22 | _bsc0(char *, getserialnum)
| ^~~~~~~~~~~~
arch/m68k/include/asm/bootstd.h:50:6: note: in definition of macro '_bsc0'
50 | type name(void) \
| ^~~~
>> arch/m68k/68000/ucsimm.c:23:24: warning: no previous prototype for 'gethwaddr' [-Wmissing-prototypes]
23 | _bsc1(unsigned char *, gethwaddr, int, a)
| ^~~~~~~~~
arch/m68k/include/asm/bootstd.h:61:6: note: in definition of macro '_bsc1'
61 | type name(atype a) \
| ^~~~
>> arch/m68k/68000/ucsimm.c:24:15: warning: no previous prototype for 'getbenv' [-Wmissing-prototypes]
24 | _bsc1(char *, getbenv, char *, a)
| ^~~~~~~
arch/m68k/include/asm/bootstd.h:61:6: note: in definition of macro '_bsc1'
61 | type name(atype a) \
| ^~~~
vim +/getserialnum +22 arch/m68k/68000/ucsimm.c
21
> 22 _bsc0(char *, getserialnum)
> 23 _bsc1(unsigned char *, gethwaddr, int, a)
> 24 _bsc1(char *, getbenv, char *, a)
25
---
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: 29220 bytes --]
reply other threads:[~2021-09-30 10:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202109301859.BgEdRdbr-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=gerg@linux-m68k.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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