* [ardb:efi-remove-mixed-mode 25/30] include/linux/efi.h:576:41: warning: initialization of 'const efi_config_table_t *' from 'long unsigned int' makes pointer from integer without a cast
@ 2023-05-13 2:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-13 2:23 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: oe-kbuild-all
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-remove-mixed-mode
head: cd57f70012e67876ab331fb83fd05670727e44d1
commit: e078fe8a2777069c99a70bcfac840380d2bbf578 [25/30] efi: get rid of efi_table_attr()
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230513/202305131018.3TGPQTGY-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=e078fe8a2777069c99a70bcfac840380d2bbf578
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb efi-remove-mixed-mode
git checkout e078fe8a2777069c99a70bcfac840380d2bbf578
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/xen/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305131018.3TGPQTGY-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/xen/efi.c:7:
>> include/linux/efi.h:576:41: warning: initialization of 'const efi_config_table_t *' from 'long unsigned int' makes pointer from integer without a cast [-Wint-conversion]
576 | #define EFI_INVALID_TABLE_ADDR (~0UL)
| ^
arch/x86/xen/efi.c:42:27: note: in expansion of macro 'EFI_INVALID_TABLE_ADDR'
42 | .tables = EFI_INVALID_TABLE_ADDR /* Initialized later. */
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/efi.h:576:41: note: (near initialization for 'efi_systab_xen.tables')
576 | #define EFI_INVALID_TABLE_ADDR (~0UL)
| ^
arch/x86/xen/efi.c:42:27: note: in expansion of macro 'EFI_INVALID_TABLE_ADDR'
42 | .tables = EFI_INVALID_TABLE_ADDR /* Initialized later. */
| ^~~~~~~~~~~~~~~~~~~~~~
arch/x86/xen/efi.c: In function 'xen_efi_probe':
>> arch/x86/xen/efi.c:62:31: warning: assignment to 'const efi_config_table_t *' from 'uint64_t' {aka 'long long unsigned int'} makes pointer from integer without a cast [-Wint-conversion]
62 | efi_systab_xen.tables = info->cfg.addr;
| ^
arch/x86/xen/efi.c: At top level:
arch/x86/xen/efi.c:130:13: warning: no previous prototype for 'xen_efi_init' [-Wmissing-prototypes]
130 | void __init xen_efi_init(struct boot_params *boot_params)
| ^~~~~~~~~~~~
vim +576 include/linux/efi.h
fe4db90a80cd12 Ard Biesheuvel 2020-01-23 575
b2c99e3c70d77f Bjorn Helgaas 2006-03-26 @576 #define EFI_INVALID_TABLE_ADDR (~0UL)
b2c99e3c70d77f Bjorn Helgaas 2006-03-26 577
:::::: The code at line 576 was first introduced by commit
:::::: b2c99e3c70d77fb194df5aa1642030080d28ea48 [PATCH] EFI: keep physical table addresses in efi structure
:::::: TO: Bjorn Helgaas <bjorn.helgaas@hp.com>
:::::: CC: Linus Torvalds <torvalds@g5.osdl.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-13 2:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-13 2:23 [ardb:efi-remove-mixed-mode 25/30] include/linux/efi.h:576:41: warning: initialization of 'const efi_config_table_t *' from 'long unsigned int' makes pointer from integer without a cast kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.