[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204211729.xRuJP9jy-lkp@intel.com>
Date: Thu, 21 Apr 2022 17:42:50 +0800
From: kernel test robot <lkp@...el.com>
To: Ilkka Koskinen <ilkka@...amperecomputing.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>
Subject: drivers/acpi/arm64/agdi.c:88:13: warning: no previous prototype for
function 'acpi_agdi_init'
Hi Ilkka,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b253435746d9a4a701b5f09211b9c14d3370d0da
commit: a2a591fb76e6f5461dfd04715b69c317e50c43a5 ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device
date: 6 weeks ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220421/202204211729.xRuJP9jy-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a2a591fb76e6f5461dfd04715b69c317e50c43a5
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a2a591fb76e6f5461dfd04715b69c317e50c43a5
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/acpi/arm64/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/acpi/arm64/agdi.c:88:13: warning: no previous prototype for function 'acpi_agdi_init' [-Wmissing-prototypes]
void __init acpi_agdi_init(void)
^
drivers/acpi/arm64/agdi.c:88:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init acpi_agdi_init(void)
^
static
1 warning generated.
vim +/acpi_agdi_init +88 drivers/acpi/arm64/agdi.c
87
> 88 void __init acpi_agdi_init(void)
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists