Re: [kbuild-all] Re: [ardb:for-kernelci 25/25] arch/arm/kernel/traps.c:865:17: warning: no previous prototype for function 'handle_bad_stack'

From: Rong Chen
Date: Thu Dec 02 2021 - 03:03:37 EST




On 12/2/21 15:53, Ard Biesheuvel wrote:
On Thu, 2 Dec 2021 at 08:34, Rong Chen <rong.a.chen@xxxxxxxxx> wrote:


On 11/30/21 21:12, Ard Biesheuvel wrote:
On Thu, 25 Nov 2021 at 02:35, kernel test robot <lkp@xxxxxxxxx> wrote:
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head: 5da04a8b7050432b72f6551b6c95e4b5b5fd68d1
commit: 5da04a8b7050432b72f6551b6c95e4b5b5fd68d1 [25/25] ARM: implement THREAD_INFO_IN_TASK for uniprocessor systems
config: arm-randconfig-r024-20211124 (https://download.01.org/0day-ci/archive/20211125/202111250918.ErFZktQF-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 67a1c45def8a75061203461ab0060c75c864df1c)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=5da04a8b7050432b72f6551b6c95e4b5b5fd68d1
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb for-kernelci
git checkout 5da04a8b7050432b72f6551b6c95e4b5b5fd68d1
# save the config file to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

This is yet another false positive. asmlinkage routines don't need a
prototype because they are called from assembler. This is not going to
get fixed, so please don't report this error anymore.
Hi Ard,

Sorry for the noise, we'll ignore the warnings in the future.

Thanks! And if at all possible, please extend this to all routines
marked as asmlinkage?


got it, thanks for your reminding.

Best Regards,
Rong Chen