All of lore.kernel.org
 help / color / mirror / Atom feed
* [efi:efi/memmap 7/12] arch/x86/platform/efi/efi.c:954:5: warning: cast to pointer from integer of different size
@ 2016-06-21 20:58 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-06-21 20:58 UTC (permalink / raw)
  Cc: kbuild-all-JC7UmRfGjtg, linux-efi-u79uwXL29TY76Z2rM5mHXA, Matt Fleming

[-- Attachment #1: Type: text/plain, Size: 1916 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git efi/memmap
head:   a75e961a4d2765033d97d9ffb9d080d9db0b5e85
commit: 61ab5fa1ec32e8e8ce283e2bbdea9983a06ef983 [7/12] x86/efi: Call efi_memmap_init_late() for permanent EFI memmap
config: i386-randconfig-b0-06220207 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 61ab5fa1ec32e8e8ce283e2bbdea9983a06ef983
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   arch/x86/platform/efi/efi.c: In function '__efi_enter_virtual_mode':
>> arch/x86/platform/efi/efi.c:954:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        (efi_memory_desc_t *)pa);
        ^
   arch/x86/platform/efi/efi.c:961:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        (efi_memory_desc_t *)pa);
        ^

vim +954 arch/x86/platform/efi/efi.c

   938		save_runtime_map();
   939	
   940		BUG_ON(!efi.systab);
   941	
   942		if (efi_setup_page_tables(pa, 1 << pg_shift)) {
   943			clear_bit(EFI_RUNTIME_SERVICES, &efi.flags);
   944			return;
   945		}
   946	
   947		efi_sync_low_kernel_mappings();
   948	
   949		if (efi_is_native()) {
   950			status = phys_efi_set_virtual_address_map(
   951					efi.memmap.desc_size * count,
   952					efi.memmap.desc_size,
   953					efi.memmap.desc_version,
 > 954					(efi_memory_desc_t *)pa);
   955		} else {
   956			status = efi_thunk_set_virtual_address_map(
   957					efi_phys.set_virtual_address_map,
   958					efi.memmap.desc_size * count,
   959					efi.memmap.desc_size,
   960					efi.memmap.desc_version,
   961					(efi_memory_desc_t *)pa);
   962		}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 29729 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-21 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 20:58 [efi:efi/memmap 7/12] arch/x86/platform/efi/efi.c:954:5: warning: cast to pointer from integer of different size kbuild 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.