Messages in this thread | | | Date | Wed, 29 Dec 2021 18:10:15 +0800 | From | kernel test robot <> | Subject | arch/mips/boot/compressed/../../../../lib/ashldi3.c:9:19: warning: no previous prototype for '__ashldi3' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e7c124bd04631973a3cc0df19ab881b56d8a2d50 commit: fbf3bce458214bb971d3d571515b3b129eac290b MIPS: boot/compressed/: add __ashldi3 to target for ZSTD compression date: 5 weeks ago config: mips-randconfig-r036-20211229 (https://download.01.org/0day-ci/archive/20211229/202112291806.jBFX290c-lkp@intel.com/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=fbf3bce458214bb971d3d571515b3b129eac290b git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout fbf3bce458214bb971d3d571515b3b129eac290b # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash
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/mips/boot/compressed/ashldi3.c:2: >> arch/mips/boot/compressed/../../../../lib/ashldi3.c:9:19: warning: no previous prototype for '__ashldi3' [-Wmissing-prototypes] 9 | long long notrace __ashldi3(long long u, word_type b) | ^~~~~~~~~
vim +/__ashldi3 +9 arch/mips/boot/compressed/../../../../lib/ashldi3.c
b35cd9884fa5d81 Palmer Dabbelt 2017-05-23 8 b35cd9884fa5d81 Palmer Dabbelt 2017-05-23 @9 long long notrace __ashldi3(long long u, word_type b)
:::::: The code at line 9 was first introduced by commit :::::: b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835 lib: Add shared copies of some GCC library routines
:::::: TO: Palmer Dabbelt <palmer@dabbelt.com> :::::: CC: Palmer Dabbelt <palmer@dabbelt.com>
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |