Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp159958lqf; Fri, 26 Apr 2024 02:52:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXj5ky6VKe95pwLZcAKh9wqbfiQonp7EHtpLp8I5BmT2VeVhqmpV2SVUXTLNj7IdH6fHyJf9F7hcPRHEdCuoRMvHzfAzEE1kHmp5ZKwWg== X-Google-Smtp-Source: AGHT+IG55nR24iqB8hN52LzFcgMsou/TgBu+rNfjof7HxQAO6JhDykAJrRRHO5CxHwO3a3gI50Ny X-Received: by 2002:a17:906:c451:b0:a58:c54f:83fc with SMTP id ck17-20020a170906c45100b00a58c54f83fcmr1648342ejb.9.1714125140960; Fri, 26 Apr 2024 02:52:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714125140; cv=pass; d=google.com; s=arc-20160816; b=NocNF8tFhKwQQ8WqB+QDi1HmIRLYulLZ8Z/M+t/QnYDgl00d5SFnoDH8cJanbaSU/h m8T6yhAK4vzMC04BGuJT5E8uuOJyfqgknNw6PHgYTuziaaAd/x0znVnDcjSkJ1WH8go0 /5rvXkItXYfI3nhIdQbyj4yUJYdHY7rG9vDMW8j9nkuikKUeSN9jmrUf2GoBZw0edf1A qGIgLw6pqwWE564czOI6Je5yAOEGMpnM23uCdBzGprdz0HJ5/guqzF6QqBS4kMzTyESs CYRCm+GLLx+WwwTtnC54ip8XjcHo6DizAjaZQBRhVS/fPKkBVAUUbTy2CLc4pdMJL+C7 0Q6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=JsCjjdLr27sSjHEkJipDFXXYwHo6uk1xjYhCzrG0GOE=; fh=/ukkaSqRHPJ57yKePztilCbPtafmuZFMVrROvHqY8SA=; b=Wh+xPit2EGjXIyc29XjJGciVINeBrIqf3Ak7pRdss5tIpViv+KhU7nXCP8PivuS08b BvvhOb+hGShrpFhwSjKZ5jK08X2hnptPJ48D48AA+oJJe0RDwYeL01m1RWH7zSeBmbLm VJJpj9delA1/FXjWbtlPAbfeSTS72qMsMn6KPtd+bdT5EmaVMyv3NPotNMTcak6Ze1OW /T56FFF8W5Gpe8wGeXjDPhlaqsgGCHfYPyLJ1a0H2NHPYRFJDyR29+OmwtOa1E67nWOw T4TsaqzKrjMFuBQVTdW9R6FYSI8fp3OuftP50pwhMiyU1AQVdowVrI9itoS360gzhItZ XfMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Im6KMGMn; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-159818-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ko14-20020a170906aa0e00b00a523ca46639si10577682ejb.537.2024.04.26.02.52.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 02:52:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159818-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Im6KMGMn; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-159818-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 85B2C1F21DB5 for ; Fri, 26 Apr 2024 09:52:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A1DB140381; Fri, 26 Apr 2024 09:52:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Im6KMGMn" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F085213FD78 for ; Fri, 26 Apr 2024 09:52:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714125124; cv=none; b=UHyJcUO+6/o9flAnjL6kvQUCwWw/HAotOUDaCiVteNrVuGyx16IykvehI3DyGK8FDXmfXdyCtfGRHl9DWIbBWAdeQAzk8DvARiXgln0Vu873sJiOeZHSWFtn/2M99x7vAakvShZRmu/pxqMsbRhr1BYa7IrS/iTlwpXxZpDcgrk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714125124; c=relaxed/simple; bh=GI0+ZONFcvCmp+XTezir6I2RyJBhqG4R0RTNJ/5xm6g=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=rKEwZnumirmS8SnXq7OwrSxA8p/S2I4L/hlOrqGpqNb67qt9ePNuDUBP6ZNK2j8gpf3OJKb1907402zOcbyj+i8wm9kUvmU8nT6kNbxDKsx8KgufS0CeKozxORcVlxATa9bWyeD8ay8oPupMR1OiigPO5gG/wLO2ymTZc0rg2I8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Im6KMGMn; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714125124; x=1745661124; h=date:from:to:cc:subject:message-id:mime-version; bh=GI0+ZONFcvCmp+XTezir6I2RyJBhqG4R0RTNJ/5xm6g=; b=Im6KMGMnJDbyVMNQWGuKCHYvg93X4VmT6Zwy+VygQEG2L1p3Zl24j1lA SWN4TGWVFDL69fzy6b76LJP2QHeaZq7aBUy8iqOmzNgrskXcddgtV/rLc BVDlRn7zPoIjq3dPTVZj+/K2dwfY7JcMUeFiHWEQyDCgBlu4u1isUINPp ssQ4gNkjflBGafhVu2icCzl+urZktytbdI6FZIlSofaBq+gHy3cZjh5ba pXGbbwJbBZgrmM/19eApzjuOI4fhLEaaeYYPNIgDAvXwBP5n/SG79hH58 s5TfuxZAZGh5VxlRXeLZC9S/bZ2CrwYeGOu/8v6UBHKIr987St4dPb/xM A==; X-CSE-ConnectionGUID: BpPLgr9GSnqap7L/uZl/KA== X-CSE-MsgGUID: Av8QnY6NRPG4jZuzx9+Wkg== X-IronPort-AV: E=McAfee;i="6600,9927,11055"; a="21003379" X-IronPort-AV: E=Sophos;i="6.07,232,1708416000"; d="scan'208";a="21003379" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2024 02:52:03 -0700 X-CSE-ConnectionGUID: JvE4m0quQC+QmAxaExeTZg== X-CSE-MsgGUID: LMHtLTp1QlGIaL/vaWELbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,232,1708416000"; d="scan'208";a="25327198" Received: from lkp-server01.sh.intel.com (HELO e434dd42e5a1) ([10.239.97.150]) by orviesa009.jf.intel.com with ESMTP; 26 Apr 2024 02:51:44 -0700 Received: from kbuild by e434dd42e5a1 with local (Exim 4.96) (envelope-from ) id 1s0IF3-0003Yq-23; Fri, 26 Apr 2024 09:51:41 +0000 Date: Fri, 26 Apr 2024 17:51:41 +0800 From: kernel test robot To: Johannes Berg Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: include/linux/compiler_types.h:358:45: error: call to '__compiletime_assert_947' declared with attribute error: BUILD_BUG_ON failed: sizeof(struct ieee80211_rx_status) > sizeof(skb->cb) Message-ID: <202404261756.SBM7jgit-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Johannes, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c942a0cd3603e34dd2d7237e064d9318cb7f9654 commit: f66c48af7a110c0d694c4ac4a1257affb272a2ea mac80211: support minimal EHT rate reporting on RX date: 1 year, 3 months ago config: arm-randconfig-002-20240426 (https://download.01.org/0day-ci/archive/20240426/202404261756.SBM7jgit-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240426/202404261756.SBM7jgit-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202404261756.SBM7jgit-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from : net/mac80211/rx.c: In function 'ieee80211_rx_irqsafe': >> include/linux/compiler_types.h:358:45: error: call to '__compiletime_assert_947' declared with attribute error: BUILD_BUG_ON failed: sizeof(struct ieee80211_rx_status) > sizeof(skb->cb) 358 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:339:25: note: in definition of macro '__compiletime_assert' 339 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:358:9: note: in expansion of macro '_compiletime_assert' 358 | _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) | ^~~~~~~~~~~~~~~~ net/mac80211/rx.c:5283:9: note: in expansion of macro 'BUILD_BUG_ON' 5283 | BUILD_BUG_ON(sizeof(struct ieee80211_rx_status) > sizeof(skb->cb)); | ^~~~~~~~~~~~ vim +/__compiletime_assert_947 +358 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 344 eb5c2d4b45e3d2 Will Deacon 2020-07-21 345 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 346 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 347 eb5c2d4b45e3d2 Will Deacon 2020-07-21 348 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 349 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 350 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 351 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 352 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 353 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 354 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 355 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 356 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 357 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @358 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 359 :::::: The code at line 358 was first introduced by commit :::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h :::::: TO: Will Deacon :::::: CC: Will Deacon -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki