Messages in this thread | | | Date | Wed, 26 Jan 2022 17:11:01 +0800 | From | kernel test robot <> | Subject | [morse:mpam/snapshot/v5.16 84/137] drivers/acpi/arm64/mpam.c:244:12: warning: no previous prototype for 'acpi_mpam_parse' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16 head: 364c1c42b229912132e1615c2ce15be7154e2156 commit: b841feb1820b7008977aa2684994b5debe450b18 [84/137] ACPI / MPAM: Parse the MPAM table config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201261729.TYtOlqcK-lkp@intel.com/config) compiler: aarch64-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/morse/linux.git/commit/?id=b841feb1820b7008977aa2684994b5debe450b18 git remote add morse https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git git fetch --no-tags morse mpam/snapshot/v5.16 git checkout b841feb1820b7008977aa2684994b5debe450b18 # 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=arm64 SHELL=/bin/bash drivers/acpi/arm64/ drivers/platform/
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 >>):
>> drivers/acpi/arm64/mpam.c:244:12: warning: no previous prototype for 'acpi_mpam_parse' [-Wmissing-prototypes] 244 | int __init acpi_mpam_parse(void) | ^~~~~~~~~~~~~~~
vim +/acpi_mpam_parse +244 drivers/acpi/arm64/mpam.c
243 > 244 int __init acpi_mpam_parse(void) 245 { 246 struct acpi_table_header *mpam; 247 acpi_status status; 248 int err; 249 250 if (acpi_disabled || !mpam_cpus_have_feature()) 251 return 0; 252 253 status = acpi_get_table(ACPI_SIG_MPAM, 0, &mpam); 254 if (ACPI_FAILURE(status)) 255 return -ENOENT; 256 257 err = _parse_table(mpam); 258 acpi_put_table(mpam); 259 260 return err; 261 } 262
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |