tree: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next head: 44ae6f59573c50381b7ee5042bd9a0b19f6d6979 commit: 44ae6f59573c50381b7ee5042bd9a0b19f6d6979 [15/15] efi: Deduplicate efi_open_volume() config: i386-randconfig-x009-201827 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: git checkout 44ae6f59573c50381b7ee5042bd9a0b19f6d6979 # save the attached .config to linux build tree make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/firmware/efi/libstub/efi-stub-helper.c: In function
'efi_open_volume':
>> drivers/firmware/efi/libstub/efi-stub-helper.c:425:3: warning: cast to
>> pointer from integer of different size [-Wint-to-pointer-cast]
(void *)efi_table_attr(efi_loaded_image, device_handle, image);
^
vim +425 drivers/firmware/efi/libstub/efi-stub-helper.c
415
416 static efi_status_t efi_open_volume(efi_system_table_t *sys_table_arg,
417 efi_loaded_image_t *image,
418 efi_file_handle_t **__fh)
419 {
420 efi_file_io_interface_t *io;
421 efi_file_handle_t *fh;
422 efi_guid_t fs_proto = EFI_FILE_SYSTEM_GUID;
423 efi_status_t status;
424 void *handle =
> 425 (void *)efi_table_attr(efi_loaded_image, device_handle,
> image);
426
427 status = efi_call_early(handle_protocol, handle,
428 &fs_proto, (void **)&io);
429 if (status != EFI_SUCCESS) {
430 efi_printk(sys_table_arg, "Failed to handle
fs_proto\n");
431 return status;
432 }
433
434 status = efi_call_proto(efi_file_io_interface, open_volume, io,
&fh);
435 if (status != EFI_SUCCESS)
436 efi_printk(sys_table_arg, "Failed to open volume\n");
437 else
438 *__fh = fh;
439
440 return status;
441 }
442
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
