Hi Anand,

[auto build test WARNING on btrfs/next]
[cannot apply to v4.8-rc6 next-20160913]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    
https://github.com/0day-ci/linux/commits/Anand-Jain/btrfs-Encryption-Add-btrfs-encryption-support/20160913-214237
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git 
next
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   fs/btrfs/tests/crypto-tests.c: In function 'test_print_data':
>> fs/btrfs/tests/crypto-tests.c:110:28: warning: format '%lu' expects argument 
>> of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned 
>> int}' [-Wformat=]
     printk("_BTRFS_: %s: sz %lu: ", prefix, sz);
                               ^
   fs/btrfs/tests/crypto-tests.c: In function 'test_ablkciphear2':
   fs/btrfs/tests/crypto-tests.c:314:44: warning: format '%lu' expects argument 
of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned 
int}' [-Wformat=]
      printk("BTRFS_TEST: Encrypt '%s' size '%lu' Failed\n",
                                               ^
   fs/btrfs/tests/crypto-tests.c:324:44: warning: format '%lu' expects argument 
of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned 
int}' [-Wformat=]
      printk("BTRFS_TEST: Decrypt '%s' size '%lu' Failed\n",
                                               ^

vim +110 fs/btrfs/tests/crypto-tests.c

    94          for (offset = 0; offset < TEST_DATA_SIZE; offset = offset + 
dlen)
    95                  memcpy(kaddr + offset, str, dlen);
    96  
    97          flush_kernel_dcache_page(known_data_page);
    98  }
    99  
   100  void test_fini(void)
   101  {
   102          if (known_data_page)
   103                  __free_page(known_data_page);
   104  }
   105  
   106  
   107  void test_print_data(const char *str, char *prefix, size_t sz, int 
print_as_str)
   108  {
   109          int i;
 > 110          printk("_BTRFS_: %s: sz %lu: ", prefix, sz);
   111  
   112          if (print_as_str)
   113                  for (i = 0; i < sz; i++) printk("%c", str[i]);
   114          else
   115                  for (i = 0; i < sz; i++) printk("%02x ", 0xF & str[i]);
   116  
   117          printk("\n");
   118  }

---
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