Hi Matt,

[auto build test WARNING on efi/next]
[also build test WARNING on v4.5 next-20160318]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Daniel-Baluta/efi-Introduce-EFI-bootloader-control-driver/20160318-181048
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git next
config: i386-allyesconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/firmware/efi/efi-bc.c: In function 'efibc_reboot_notifier_call':
>> drivers/firmware/efi/efi-bc.c:93:10: warning: format '%lu' expects argument 
>> of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned 
>> int}' [-Wformat=]
   drivers/firmware/efi/efi-bc.c:101:10: warning: format '%lu' expects argument 
of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned 
int}' [-Wformat=]

vim +93 drivers/firmware/efi/efi-bc.c

    77                  goto out;
    78  
    79          name_efichar_blen = efi_char16_bufsz(LOADER_ENTRY_ONE_SHOT);
    80          cmd_efichar_blen = efi_char16_bufsz(cmd);
    81  
    82          name_efichar = kzalloc(name_efichar_blen, GFP_KERNEL);
    83          if (!name_efichar)
    84                  goto out;
    85  
    86          cmd_efichar = kzalloc(cmd_efichar_blen, GFP_KERNEL);
    87          if (!cmd_efichar)
    88                  goto out;
    89  
    90          if (efichar_from_char(
    91                          name_efichar, LOADER_ENTRY_ONE_SHOT, 
name_efichar_blen)
    92                          != strlen(LOADER_ENTRY_ONE_SHOT)) {
  > 93                  pr_err(
    94                          "efibc: %s: Failed to convert char to 
efi_char16_t. length=%lu",
    95                          __func__, name_efichar_blen);
    96                  goto out;
    97          }
    98  
    99          if (efichar_from_char(cmd_efichar, cmd, cmd_efichar_blen)
   100                          != strlen(cmd)) {
   101                  pr_err(

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

Attachment: .config.gz
Description: Binary data

Reply via email to