Re: [PATCH v2 4/4] btrfs: assert sizes of ioctl structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,

I love your patch! Yet something to improve:

[auto build test ERROR on v5.8-rc5]
[cannot apply to kdave/for-next btrfs/next next-20200713]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Johannes-Thumshirn/Two-furhter-additions-for-fsinfo-ioctl/20200713-203321
base:    11ba468877bb23f28956a35e896356252d63c983
config: x86_64-randconfig-a016-20200713 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 02946de3802d3bc65bc9f2eb9b8d4969b5a7add8)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All error/warnings (new ones prefixed by >>):

   In file included from <built-in>:1:
   In file included from ./usr/include/linux/btrfs_tree.h:5:
>> ./usr/include/linux/btrfs.h:35:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_vol_args) == 4096);
                 ^
>> ./usr/include/linux/btrfs.h:35:15: error: expected ')'
   ./usr/include/linux/btrfs.h:35:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_vol_args) == 4096);
                ^
>> ./usr/include/linux/btrfs.h:35:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_vol_args) == 4096);
   ^
   int
   ./usr/include/linux/btrfs.h:192:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_scrub_args) == 1024);
                 ^
   ./usr/include/linux/btrfs.h:192:15: error: expected ')'
   ./usr/include/linux/btrfs.h:192:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_scrub_args) == 1024);
                ^
   ./usr/include/linux/btrfs.h:192:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_scrub_args) == 1024);
   ^
   int
   ./usr/include/linux/btrfs.h:245:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_dev_info_args) == 4096);
                 ^
   ./usr/include/linux/btrfs.h:245:15: error: expected ')'
   ./usr/include/linux/btrfs.h:245:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_dev_info_args) == 4096);
                ^
   ./usr/include/linux/btrfs.h:245:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_dev_info_args) == 4096);
   ^
   int
   ./usr/include/linux/btrfs.h:274:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_fs_info_args) == 1024);
                 ^
   ./usr/include/linux/btrfs.h:274:15: error: expected ')'
   ./usr/include/linux/btrfs.h:274:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_fs_info_args) == 1024);
                ^
   ./usr/include/linux/btrfs.h:274:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_fs_info_args) == 1024);
   ^
   int
   ./usr/include/linux/btrfs.h:457:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_balance_args) == 1024);
                 ^
   ./usr/include/linux/btrfs.h:457:15: error: expected ')'
   ./usr/include/linux/btrfs.h:457:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_balance_args) == 1024);
                ^
   ./usr/include/linux/btrfs.h:457:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_balance_args) == 1024);
   ^
   int
   ./usr/include/linux/btrfs.h:465:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_ino_lookup_args) == 4096);
                 ^
   ./usr/include/linux/btrfs.h:465:15: error: expected ')'
   ./usr/include/linux/btrfs.h:465:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_ino_lookup_args) == 4096);
                ^
   ./usr/include/linux/btrfs.h:465:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_ino_lookup_args) == 4096);
   ^
   int
   ./usr/include/linux/btrfs.h:481:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_ino_lookup_user_args) == 4096);
                 ^
   ./usr/include/linux/btrfs.h:481:15: error: expected ')'
   ./usr/include/linux/btrfs.h:481:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_ino_lookup_user_args) == 4096);
                ^
   ./usr/include/linux/btrfs.h:481:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_ino_lookup_user_args) == 4096);
   ^
   int
   ./usr/include/linux/btrfs.h:560:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_search_args) == 4096);
                 ^
   ./usr/include/linux/btrfs.h:560:15: error: expected ')'
   ./usr/include/linux/btrfs.h:560:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_search_args) == 4096);
                ^
   ./usr/include/linux/btrfs.h:560:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_search_args) == 4096);
   ^
   int
   ./usr/include/linux/btrfs.h:718:15: error: expected parameter declarator
   static_assert(sizeof(struct btrfs_ioctl_get_dev_stats) == 1032);
                 ^
   ./usr/include/linux/btrfs.h:718:15: error: expected ')'
   ./usr/include/linux/btrfs.h:718:14: note: to match this '('
   static_assert(sizeof(struct btrfs_ioctl_get_dev_stats) == 1032);
                ^
   ./usr/include/linux/btrfs.h:718:1: warning: declaration specifier missing, defaulting to 'int'
   static_assert(sizeof(struct btrfs_ioctl_get_dev_stats) == 1032);
   ^
   int
   9 warnings and 18 errors generated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux