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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21EBEC433EF for ; Wed, 1 Dec 2021 07:43:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4D3E96B0073; Wed, 1 Dec 2021 02:43:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 483376B0074; Wed, 1 Dec 2021 02:43:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 398BE6B0075; Wed, 1 Dec 2021 02:43:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0125.hostedemail.com [216.40.44.125]) by kanga.kvack.org (Postfix) with ESMTP id 2E0776B0073 for ; Wed, 1 Dec 2021 02:43:22 -0500 (EST) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id E358F1813B782 for ; Wed, 1 Dec 2021 07:43:11 +0000 (UTC) X-FDA: 78868434582.03.8550755 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf03.hostedemail.com (Postfix) with ESMTP id 541BD3000096 for ; Wed, 1 Dec 2021 07:43:11 +0000 (UTC) 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 sin.source.kernel.org (Postfix) with ESMTPS id 6B1F9CE177C; Wed, 1 Dec 2021 07:43:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F0D0C53FCC; Wed, 1 Dec 2021 07:43:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638344584; bh=jCYZN6tqdr2d7Mcsu93aXr40QkUGF3bj18VwIlxOtgo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lQe1ADjXYT0/MQRkw9yz++Q4WLW6f8VpkpNqWj7vbJrk9KSG/vc7N3P/CWktvRWZC dkTbsLNwNoORDhVlq9zJkgDP7w6x6pM3QWt4dCy5JFG0iahDW5JLpXJ6J7vYEXuhBn tTmtdlhaxu0PAAlfD0/6mycBdu9HuPjBW0VqJZVcz+oa2oF30MxUIXFDKoS0vTOZD2 BPpX3zipBRu/vC7xY0kuWLLTxoDzokLLGZDn8DRRq/39UfyiREQhyMqaKBi1v1vOgQ 0TiyxINHYZdmWhcxiFARblaglNknW2upLlhSlaBOWcix2YUtMnmS8rDUIpCS2ZPJbp 9wPL4wDoQVsqQ== From: Kalle Valo To: kernel test robot Cc: Kees Cook , kbuild-all@lists.01.org, Linux Memory Management List , linux-wireless@vger.kernel.org Subject: Re: [linux-next:master 3615/4301] include/linux/compiler_types.h:335:45: error: call to '__compiletime_assert_314' declared with attribute error: BUILD_BUG_ON failed: sizeof(txpd->tx_dest_addr) != ETH_ALEN References: <202111302102.apaePz2J-lkp@intel.com> Date: Wed, 01 Dec 2021 09:43:01 +0200 In-Reply-To: <202111302102.apaePz2J-lkp@intel.com> (kernel test robot's message of "Tue, 30 Nov 2021 21:21:01 +0800") Message-ID: <87pmqgsrcq.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 541BD3000096 X-Stat-Signature: 64rnyjwyi6h1o6qadcdbzcjo448xgm8a Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=lQe1ADjX; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf03.hostedemail.com: domain of kvalo@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=kvalo@kernel.org X-HE-Tag: 1638344591-411588 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: + linux-wireless kernel test robot writes: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 34f255a1e91ab44ff8926cf8294ff9144e62e861 > commit: 5fd32ae0433a7af37eac27ace3aabae8cb7c2fc4 [3615/4301] libertas: Use struct_group() for memcpy() region > config: arm-randconfig-r011-20211129 (https://download.01.org/0day-ci/archive/20211130/202111302102.apaePz2J-lkp@intel.com/config) > compiler: arm-linux-gnueabi-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/next/linux-next.git/commit/?id=5fd32ae0433a7af37eac27ace3aabae8cb7c2fc4 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 5fd32ae0433a7af37eac27ace3aabae8cb7c2fc4 > # 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=arm SHELL=/bin/bash drivers/net/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > In file included from : > drivers/net/wireless/marvell/libertas/tx.c: In function 'lbs_hard_start_xmit': >>> include/linux/compiler_types.h:335:45: error: call to '__compiletime_assert_314' declared with attribute error: BUILD_BUG_ON failed: sizeof(txpd->tx_dest_addr) != ETH_ALEN > 335 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > | ^ > include/linux/compiler_types.h:316:25: note: in definition of macro '__compiletime_assert' > 316 | prefix ## suffix(); \ > | ^~~~~~ > include/linux/compiler_types.h:335:9: note: in expansion of macro '_compiletime_assert' > 335 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > | ^~~~~~~~~~~~~~~~~~~ > include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' > 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) > | ^~~~~~~~~~~~~~~~~~ > include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' > 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) > | ^~~~~~~~~~~~~~~~ > drivers/net/wireless/marvell/libertas/tx.c:116:9: note: in expansion of macro 'BUILD_BUG_ON' > 116 | BUILD_BUG_ON(sizeof(txpd->tx_dest_addr) != ETH_ALEN); > | ^~~~~~~~~~~~ Kees, can you take a look at this build error? You added the BUILD_BUG_ON(), right? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches