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 8625DC3DA6F for ; Fri, 25 Aug 2023 09:07:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 98FA9280062; Fri, 25 Aug 2023 05:07:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 93F368E0011; Fri, 25 Aug 2023 05:07:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 806F7280062; Fri, 25 Aug 2023 05:07:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 6DD3F8E0011 for ; Fri, 25 Aug 2023 05:07:49 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id D970F160535 for ; Fri, 25 Aug 2023 09:07:48 +0000 (UTC) X-FDA: 81162049416.18.EB70E56 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by imf19.hostedemail.com (Postfix) with ESMTP id CF01C1A001D for ; Fri, 25 Aug 2023 09:07:46 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=NqJae5Hy; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692954467; a=rsa-sha256; cv=none; b=c3fTyw2jZnQMNcO3VcxK/5K4/1N0rvHehKyGlohPbicBBMw1e5+BQAjzjYA7JW+l9m7v7q qr2+IUNvwIsSCs8nmyvooxUZl/BgHJgmu5NVH+2rB5JaSJUxyWHgTFTeMmyHQ06Kq/cp+r aU6paiWaHMiBOa5ysRz7jquNcYjTVss= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=NqJae5Hy; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692954467; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=I4eDQQfPoBbn2W8GxalOODqp367wVJJAmlLMnTe9GkQ=; b=u9UVC50VUtd+DNvZUxQxFsyzfr+Jsjc5J/YATbV7IQBTJX0Mmj3hgU3a8jDU9X3Ap2L6+L HmZzSLIfZZ+mP5jPEvK8auzKL8PLvo+rIorMkv54Z8sSEHM/DJHcq9WY1QCQLPiIfpqtlw zUtZ7Mg2ANTxlHr1qoGKvw7DohW6loU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692954466; x=1724490466; h=date:from:to:cc:subject:message-id:mime-version; bh=WabGsBjeEViCuFnmUDv5tPBrCr7pmiR8EUv/8+rOnEs=; b=NqJae5HyufbTN71y+Bj0PWesdiFfsnMJtjT0lDvz/dmcRemUAML24tGH DGAm+ehs1utGlB4VYhDoZq2NO4fn9UHsri521axmjMZqzFXj7NTYSENfF ljbQn0n2ku3nriiDnq6dxHluVjTCeHLjSpKPSqzhZUmG6FYFpBB/Vvbk+ NAQM8sqJtVHyxyWK0OsWBxpo9h8ye4Rm6cEvMZtdl6krARFNy38AITByU kTk6PpqpM0xm6DrqwzHmw9KrrAziauT3zkw4fahXRCCXGqNZXnOkKD0Nz 2DX5WBnNX2IY6//bhnMwOro9t6xYXBMPTKqL74qiz7jLxae14zDxiy/WM A==; X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="405670997" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="405670997" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 02:07:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="687239141" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="687239141" Received: from lkp-server02.sh.intel.com (HELO daf8bb0a381d) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 25 Aug 2023 02:07:43 -0700 Received: from kbuild by daf8bb0a381d with local (Exim 4.96) (envelope-from ) id 1qZSn8-0003Ni-17; Fri, 25 Aug 2023 09:07:42 +0000 Date: Fri, 25 Aug 2023 17:07:11 +0800 From: kernel test robot To: Bart Van Assche Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , "Martin K. Petersen" , Avri Altman Subject: [linux-next:master 5069/12910] include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct utp_upiu_header) == 12" Message-ID: <202308251634.tuRn4OVv-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: CF01C1A001D X-Stat-Signature: zsifdth3rxsxik7wouge1oow9buz43fb X-HE-Tag: 1692954466-479089 X-HE-Meta: U2FsdGVkX1/c5H+C2UfzqRA5cZm7ShPHijj4Du7xDRX93J5vb0gDf3ffSTmWyUJIOuuiNTFwC/AtlWfHGme5EL8WrF37yI2Xpn3MzI3p2s9WWxuvJlEKpc7bjJJDIJAy7kUC5HcZQsP893DNnZ9jUhrgiCF++hHIkzlVQ55bahkpIN6HnsbAr2J0/5UGbfJAOHp+kW60lk9Zs3o4dYth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frL1DicY2OrZ83MD06paIh/dy5e+I2zFOGYif5NG/GvAQ2vyERXF75gOJshK4licwO5ApcAR6TiUDlrU17iEtWXsLo9in543ySnOh8p7jXIde93KumJD0xRYvPcfYomBBW 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6269320850097903b30be8f07a5c61d9f7592393 commit: 617bfaa8dd50d6a3ffc8694b4696bf2aa196bd44 [5069/12910] scsi: ufs: Simplify response header parsing config: arm-randconfig-r001-20230825 (https://download.01.org/0day-ci/archive/20230825/202308251634.tuRn4OVv-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230825/202308251634.tuRn4OVv-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/202308251634.tuRn4OVv-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/container_of.h:5, from include/linux/list.h:5, from include/linux/async.h:12, from drivers/ufs/core/ufshcd.c:12: >> include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct utp_upiu_header) == 12" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ include/linux/build_bug.h:77:34: note: in expansion of macro '__static_assert' 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ include/ufs/ufs.h:22:1: note: in expansion of macro 'static_assert' 22 | static_assert(sizeof(struct utp_upiu_header) == 12); | ^~~~~~~~~~~~~ vim +78 include/linux/build_bug.h bc6245e5efd70c Ian Abbott 2017-07-10 60 6bab69c65013be Rasmus Villemoes 2019-03-07 61 /** 6bab69c65013be Rasmus Villemoes 2019-03-07 62 * static_assert - check integer constant expression at build time 6bab69c65013be Rasmus Villemoes 2019-03-07 63 * 6bab69c65013be Rasmus Villemoes 2019-03-07 64 * static_assert() is a wrapper for the C11 _Static_assert, with a 6bab69c65013be Rasmus Villemoes 2019-03-07 65 * little macro magic to make the message optional (defaulting to the 6bab69c65013be Rasmus Villemoes 2019-03-07 66 * stringification of the tested expression). 6bab69c65013be Rasmus Villemoes 2019-03-07 67 * 6bab69c65013be Rasmus Villemoes 2019-03-07 68 * Contrary to BUILD_BUG_ON(), static_assert() can be used at global 6bab69c65013be Rasmus Villemoes 2019-03-07 69 * scope, but requires the expression to be an integer constant 6bab69c65013be Rasmus Villemoes 2019-03-07 70 * expression (i.e., it is not enough that __builtin_constant_p() is 6bab69c65013be Rasmus Villemoes 2019-03-07 71 * true for expr). 6bab69c65013be Rasmus Villemoes 2019-03-07 72 * 6bab69c65013be Rasmus Villemoes 2019-03-07 73 * Also note that BUILD_BUG_ON() fails the build if the condition is 6bab69c65013be Rasmus Villemoes 2019-03-07 74 * true, while static_assert() fails the build if the expression is 6bab69c65013be Rasmus Villemoes 2019-03-07 75 * false. 6bab69c65013be Rasmus Villemoes 2019-03-07 76 */ 6bab69c65013be Rasmus Villemoes 2019-03-07 77 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) 6bab69c65013be Rasmus Villemoes 2019-03-07 @78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) 6bab69c65013be Rasmus Villemoes 2019-03-07 79 07a368b3f55a79 Maxim Levitsky 2022-10-25 80 :::::: The code at line 78 was first introduced by commit :::::: 6bab69c65013bed5fce9f101a64a84d0385b3946 build_bug.h: add wrapper for _Static_assert :::::: TO: Rasmus Villemoes :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki