From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4F73C433E0 for ; Tue, 14 Jul 2020 11:21:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7D2B82082F for ; Tue, 14 Jul 2020 11:21:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727886AbgGNLVR (ORCPT ); Tue, 14 Jul 2020 07:21:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:55240 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbgGNLVR (ORCPT ); Tue, 14 Jul 2020 07:21:17 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 57E3DB001; Tue, 14 Jul 2020 11:21:18 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 9AE98DA790; Tue, 14 Jul 2020 13:20:53 +0200 (CEST) Date: Tue, 14 Jul 2020 13:20:53 +0200 From: David Sterba To: kernel test robot Cc: Johannes Thumshirn , David Sterba , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-btrfs@vger.kernel.org Subject: Re: [PATCH v2 4/4] btrfs: assert sizes of ioctl structures Message-ID: <20200714112053.GN3703@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, kernel test robot , Johannes Thumshirn , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-btrfs@vger.kernel.org References: <20200713122901.1773-5-johannes.thumshirn@wdc.com> <202007140414.27egNqJz%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202007140414.27egNqJz%lkp@intel.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Tue, Jul 14, 2020 at 05:01:21AM +0800, kernel test robot wrote: > 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 > > All error/warnings (new ones prefixed by >>): > > In file included from :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); > ^ Does that mean that clang (11.0) does not support static_assert? We aren't doing anything special here, include only the standard kernel headers and use macros as intended. From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0189296251957420891==" MIME-Version: 1.0 From: David Sterba To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 4/4] btrfs: assert sizes of ioctl structures Date: Tue, 14 Jul 2020 13:20:53 +0200 Message-ID: <20200714112053.GN3703@twin.jikos.cz> In-Reply-To: <202007140414.27egNqJz%lkp@intel.com> List-Id: --===============0189296251957420891== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Jul 14, 2020 at 05:01:21AM +0800, kernel test robot wrote: > 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-f= urhter-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 0294= 6de3802d3bc65bc9f2eb9b8d4969b5a7add8) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/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=3D$HOME/0day COMPILER=3Dclang make.cross AR= CH=3Dx86_64 = > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All error/warnings (new ones prefixed by >>): > = > In file included from :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) =3D=3D 4096); > ^ Does that mean that clang (11.0) does not support static_assert? We aren't doing anything special here, include only the standard kernel headers and use macros as intended. --===============0189296251957420891==--