From: kernel test robot <lkp@intel.com> To: Johannes Thumshirn <johannes.thumshirn@wdc.com>, David Sterba <dsterba@suse.cz> Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-btrfs@vger.kernel.org, Johannes Thumshirn <johannes.thumshirn@wdc.com> Subject: Re: [PATCH v2 4/4] btrfs: assert sizes of ioctl structures Date: Tue, 14 Jul 2020 05:01:21 +0800 [thread overview] Message-ID: <202007140414.27egNqJz%lkp@intel.com> (raw) In-Reply-To: <20200713122901.1773-5-johannes.thumshirn@wdc.com> [-- Attachment #1: Type: text/plain, Size: 6441 bytes --] 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@intel.com> 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@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 33333 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 4/4] btrfs: assert sizes of ioctl structures Date: Tue, 14 Jul 2020 05:01:21 +0800 [thread overview] Message-ID: <202007140414.27egNqJz%lkp@intel.com> (raw) In-Reply-To: <20200713122901.1773-5-johannes.thumshirn@wdc.com> [-- Attachment #1: Type: text/plain, Size: 6576 bytes --] 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@intel.com> 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(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 33333 bytes --]
next prev parent reply other threads:[~2020-07-13 21:02 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-13 12:28 [PATCH v2 0/4] Two furhter additions for fsinfo ioctl Johannes Thumshirn 2020-07-13 12:28 ` [PATCH v2 1/4] btrfs: pass checksum type via BTRFS_IOC_FS_INFO ioctl Johannes Thumshirn 2020-07-13 14:27 ` David Sterba 2020-07-13 14:28 ` Johannes Thumshirn 2020-07-13 14:50 ` David Sterba 2020-07-13 12:28 ` [PATCH v2 2/4] btrfs: add filesystem generation to fsinfo ioctl Johannes Thumshirn 2020-07-15 7:21 ` Nikolay Borisov 2020-07-13 12:29 ` [PATCH v2 3/4] btrfs: add metadata_uuid " Johannes Thumshirn 2020-07-15 7:22 ` Nikolay Borisov 2020-07-13 12:29 ` [PATCH v2 4/4] btrfs: assert sizes of ioctl structures Johannes Thumshirn 2020-07-13 14:58 ` David Sterba 2020-07-13 16:13 ` Johannes Thumshirn 2020-07-13 21:01 ` kernel test robot [this message] 2020-07-13 21:01 ` kernel test robot 2020-07-14 11:20 ` David Sterba 2020-07-14 11:20 ` David Sterba 2020-07-14 11:23 ` David Sterba 2020-07-14 11:23 ` David Sterba 2020-07-13 21:30 ` kernel test robot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=202007140414.27egNqJz%lkp@intel.com \ --to=lkp@intel.com \ --cc=clang-built-linux@googlegroups.com \ --cc=dsterba@suse.cz \ --cc=johannes.thumshirn@wdc.com \ --cc=kbuild-all@lists.01.org \ --cc=linux-btrfs@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.