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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D93CDC433F5 for ; Fri, 17 Dec 2021 03:10:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8CNSqbzjAG86QGhB9Ya+i2a5mHUFRqyElzWAKuwo1n0=; b=4bax/V1+lHz73G d6z3swHbGNaz6rtLm6NbDPHuBL042ukAUmcmZQRvZMqLu65EcX8vFMhPPQ6RDfUxH5WL2SneO/yQA Zdvvi9vGy2Kh+8gmxwwzk4chsVqk4L1cClv+Xr6JS9ye9k0Bk4HmN4Jb4k4Ju+3tBVMB8KtkWiCWm tN1DnFxFL50AsKantxkpLj4LXghVTEOGxC9gKrt3MSgspp0MSeRfT35/UBQXNHFhBb7aoA/VRVhLN gNhW/Kth4bATjljgv4KWpmu5LIhudOqFW+jF+GY0DOB/pzrNsbHCx52VOwAJEth3cKr+s7Ad1hiJR 3NE7svVPYu7oyvMLlkCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1my3bz-008T1s-1e; Fri, 17 Dec 2021 03:08:47 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1my3bv-008T1Z-EC for linux-arm-kernel@lists.infradead.org; Fri, 17 Dec 2021 03:08:45 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4154CB826B1; Fri, 17 Dec 2021 03:08:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE458C36AE0; Fri, 17 Dec 2021 03:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639710520; bh=l8t6veqtTVDRgBXJyoTFKOeEVZ34ronrYyS2rU4K0ko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SOQMdJdJlvltQPJBRlidnVAYb8tEhYv/lB7aCqf5s6+AU9LHUgSM1Ewcs0rE7o5tV GgC4uHkGwi/LaJ2nLwCM74pGC1r2IEfaDuPq+HPjk8yKF5zPVwgC3A26LgaDeFc/eM C47XJOmJsZJ6WdrBBQfOoB+oFHhMxsAOcPsFcSuTVPBlytDe+B22ZcqsjUgJnrEGqi 1N3Y4skN4xvcjWUxnc7k31f1ojlwBtDx8loDKQ6FFlv0oEG15wRQMfCsvUtR1b+fYX xnVg4YsoP01TKwhMwNwbBjzgeHGFhQpz+Tzi14O4qnINeTwTYG964qOcfKNbCRYG8z moskA/1ZrDzhA== Date: Fri, 17 Dec 2021 11:08:35 +0800 From: Shawn Guo To: Adam Ford Cc: kernel test robot , kbuild-all@lists.01.org, arm-soc , Lucas Stach Subject: Re: [shawnguo:imx/dt64 61/65] include/vdso/bits.h:7:33: warning: excess elements in struct initializer Message-ID: <20211217030835.GO4216@dragon> References: <202112170542.njccjabE-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211216_190843_802096_1C1416C3 X-CRM114-Status: GOOD ( 24.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 16, 2021 at 04:46:34PM -0600, Adam Ford wrote: > This was added in > https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=for-next&id=042b67799e2991e301df8269e166d8bc5944495e > > The branch called imx/dt64 appears to be missing this, but it is > present in the for-next branch. Is it possible to have the > auto-builder use for-next as the base? > > I would expect it to work then. My fault. Patches were applied to the wrong branch. Fixed now. Shawn > On Thu, Dec 16, 2021 at 4:07 PM kernel test robot wrote: > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git imx/dt64 > > head: 99aa299322718d46f1d9f0552231c8eab5ec7f9c > > commit: 31d517ab0a3cb40e11c5400ef0ec393e4a34db65 [61/65] soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl > > config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20211217/202112170542.njccjabE-lkp@intel.com/config) > > compiler: alpha-linux-gcc (GCC) 11.2.0 > > 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 > > # https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?id=31d517ab0a3cb40e11c5400ef0ec393e4a34db65 > > git remote add shawnguo https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git > > git fetch --no-tags shawnguo imx/dt64 > > git checkout 31d517ab0a3cb40e11c5400ef0ec393e4a34db65 > > # save the config file to linux build tree > > mkdir build_dir > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/soc/imx/ > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All warnings (new ones prefixed by >>): > > > > drivers/soc/imx/imx8m-blk-ctrl.c:536:18: error: 'const struct imx8m_blk_ctrl_domain_data' has no member named 'mipi_phy_rst_mask' > > 536 | .mipi_phy_rst_mask = BIT(17), > > | ^~~~~~~~~~~~~~~~~ > > In file included from include/linux/bits.h:6, > > from include/linux/ratelimit_types.h:5, > > from include/linux/ratelimit.h:5, > > from include/linux/dev_printk.h:16, > > from include/linux/device.h:15, > > from drivers/soc/imx/imx8m-blk-ctrl.c:7: > > >> include/vdso/bits.h:7:33: warning: excess elements in struct initializer > > 7 | #define BIT(nr) (UL(1) << (nr)) > > | ^ > > drivers/soc/imx/imx8m-blk-ctrl.c:536:38: note: in expansion of macro 'BIT' > > 536 | .mipi_phy_rst_mask = BIT(17), > > | ^~~ > > include/vdso/bits.h:7:33: note: (near initialization for 'imx8mn_disp_blk_ctl_domain_data[0]') > > 7 | #define BIT(nr) (UL(1) << (nr)) > > | ^ > > drivers/soc/imx/imx8m-blk-ctrl.c:536:38: note: in expansion of macro 'BIT' > > 536 | .mipi_phy_rst_mask = BIT(17), > > | ^~~ > > drivers/soc/imx/imx8m-blk-ctrl.c:545:18: error: 'const struct imx8m_blk_ctrl_domain_data' has no member named 'mipi_phy_rst_mask' > > 545 | .mipi_phy_rst_mask = BIT(16), > > | ^~~~~~~~~~~~~~~~~ > > In file included from include/linux/bits.h:6, > > from include/linux/ratelimit_types.h:5, > > from include/linux/ratelimit.h:5, > > from include/linux/dev_printk.h:16, > > from include/linux/device.h:15, > > from drivers/soc/imx/imx8m-blk-ctrl.c:7: > > >> include/vdso/bits.h:7:33: warning: excess elements in struct initializer > > 7 | #define BIT(nr) (UL(1) << (nr)) > > | ^ > > drivers/soc/imx/imx8m-blk-ctrl.c:545:38: note: in expansion of macro 'BIT' > > 545 | .mipi_phy_rst_mask = BIT(16), > > | ^~~ > > include/vdso/bits.h:7:33: note: (near initialization for 'imx8mn_disp_blk_ctl_domain_data[1]') > > 7 | #define BIT(nr) (UL(1) << (nr)) > > | ^ > > drivers/soc/imx/imx8m-blk-ctrl.c:545:38: note: in expansion of macro 'BIT' > > 545 | .mipi_phy_rst_mask = BIT(16), > > | ^~~ > > > > > > vim +7 include/vdso/bits.h > > > > 3945ff37d2f48d3 Vincenzo Frascino 2020-03-20 6 > > 3945ff37d2f48d3 Vincenzo Frascino 2020-03-20 @7 #define BIT(nr) (UL(1) << (nr)) > > 3945ff37d2f48d3 Vincenzo Frascino 2020-03-20 8 > > > > :::::: The code at line 7 was first introduced by commit > > :::::: 3945ff37d2f48d39fd1751d282c80176654049e4 linux/bits.h: Extract common header for vDSO > > > > :::::: TO: Vincenzo Frascino > > :::::: CC: Thomas Gleixner > > > > --- > > 0-DAY CI Kernel Test Service, Intel Corporation > > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel