* arch/mips/boot/compressed/bswapsi.c:5:22: warning: no previous prototype for function '__bswapsi2'
@ 2020-07-09 19:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-09 19:37 UTC (permalink / raw)
To: Jiaxun Yang
Cc: kbuild-all, clang-built-linux, linux-kernel, Thomas Bogendoerfer,
Fangrui Song, Kees Cook
[-- Attachment #1: Type: text/plain, Size: 2055 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0bddd227f3dc55975e2b8dfa7fc6f959b062a2c7
commit: ff487d41036035376e47972c7c522490b839ab37 MIPS: Truncate link address into 32bit for 32bit kernel
date: 9 weeks ago
config: mips-randconfig-r012-20200709 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 02946de3802d3bc65bc9f2eb9b8d4969b5a7add8)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout ff487d41036035376e47972c7c522490b839ab37
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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/boot/compressed/bswapsi.c:5:22: warning: no previous prototype for function '__bswapsi2' [-Wmissing-prototypes]
unsigned int notrace __bswapsi2(unsigned int u)
^
arch/mips/boot/compressed/bswapsi.c:5:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned int notrace __bswapsi2(unsigned int u)
^
static
1 warning generated.
--
>> arch/mips/boot/compressed/ashldi3.c:9:19: warning: no previous prototype for function '__ashldi3' [-Wmissing-prototypes]
long long notrace __ashldi3(long long u, word_type b)
^
arch/mips/boot/compressed/ashldi3.c:9:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long long notrace __ashldi3(long long u, word_type b)
^
static
1 warning generated.
---
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: 30087 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-09 19:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 19:37 arch/mips/boot/compressed/bswapsi.c:5:22: warning: no previous prototype for function '__bswapsi2' 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
all inboxes | Powered by JetHome®