CC: kbuild-...@lists.01.org TO: "Arvind, Sankar," <nived...@alum.mit.edu> CC: Ard Biesheuvel <a...@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e7b08814b16b80a0bf76eeca16317f8c2ed23b8c commit: f61900fd0ebf6c6b91719d63272a54f4d11051df [5169/14131] efi/libstub: Unify initrd loading across architectures :::::: branch date: 3 days ago :::::: commit date: 5 weeks ago config: i386-randconfig-s031-20200601 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.1-243-gc100a7ab-dirty git checkout f61900fd0ebf6c6b91719d63272a54f4d11051df # save the attached .config to linux build tree make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <l...@intel.com> sparse warnings: (new ones prefixed by >>) drivers/firmware/efi/libstub/efi-stub-helper.c:390:44: sparse: sparse: incorrect type in argument 2 (different type sizes) @@ expected unsigned short const [usertype] *optstr @@ got char * @@ >> drivers/firmware/efi/libstub/efi-stub-helper.c:390:44: sparse: expected >> unsigned short const [usertype] *optstr >> drivers/firmware/efi/libstub/efi-stub-helper.c:390:44: sparse: got char * # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f61900fd0ebf6c6b91719d63272a54f4d11051df git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git remote update linux-next git checkout f61900fd0ebf6c6b91719d63272a54f4d11051df vim +390 drivers/firmware/efi/libstub/efi-stub-helper.c f61900fd0ebf6c6 Arvind Sankar 2020-04-30 376 f61900fd0ebf6c6 Arvind Sankar 2020-04-30 377 static f61900fd0ebf6c6 Arvind Sankar 2020-04-30 378 efi_status_t efi_load_initrd_cmdline(efi_loaded_image_t *image, f61900fd0ebf6c6 Arvind Sankar 2020-04-30 379 unsigned long *load_addr, f61900fd0ebf6c6 Arvind Sankar 2020-04-30 380 unsigned long *load_size, f61900fd0ebf6c6 Arvind Sankar 2020-04-30 381 unsigned long soft_limit, f61900fd0ebf6c6 Arvind Sankar 2020-04-30 382 unsigned long hard_limit) f61900fd0ebf6c6 Arvind Sankar 2020-04-30 383 { f61900fd0ebf6c6 Arvind Sankar 2020-04-30 384 if (!IS_ENABLED(CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER) || f61900fd0ebf6c6 Arvind Sankar 2020-04-30 385 (IS_ENABLED(CONFIG_X86) && (!efi_is_native() || image == NULL))) { f61900fd0ebf6c6 Arvind Sankar 2020-04-30 386 *load_addr = *load_size = 0; f61900fd0ebf6c6 Arvind Sankar 2020-04-30 387 return EFI_SUCCESS; f61900fd0ebf6c6 Arvind Sankar 2020-04-30 388 } f61900fd0ebf6c6 Arvind Sankar 2020-04-30 389 f61900fd0ebf6c6 Arvind Sankar 2020-04-30 @390 return handle_cmdline_files(image, L"initrd=", sizeof(L"initrd=") - 2, f61900fd0ebf6c6 Arvind Sankar 2020-04-30 391 soft_limit, hard_limit, f61900fd0ebf6c6 Arvind Sankar 2020-04-30 392 load_addr, load_size); f61900fd0ebf6c6 Arvind Sankar 2020-04-30 393 } f61900fd0ebf6c6 Arvind Sankar 2020-04-30 394 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org