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 7CDA4C6379F for ; Fri, 17 Feb 2023 13:46:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0BCDC6B0072; Fri, 17 Feb 2023 08:46:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 06DCB6B0073; Fri, 17 Feb 2023 08:46:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E78936B0074; Fri, 17 Feb 2023 08:46:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id D89506B0072 for ; Fri, 17 Feb 2023 08:46:22 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id B2C1416064F for ; Fri, 17 Feb 2023 13:46:22 +0000 (UTC) X-FDA: 80476908204.18.C31F47F Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by imf22.hostedemail.com (Postfix) with ESMTP id 13F2AC0013 for ; Fri, 17 Feb 2023 13:46:18 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=c1ycAfvS; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 134.134.136.100 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1676641580; 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=FWK3EA3dn5fxI1kPOOKJbrSexbBzs/x1SkDLyvyz/rs=; b=vs/yBDeAkENxhOOFSV7o9+peLTcMOJMlN/yAGqGxXaz/v4rXCX6IpFU5fpy3oPxaoGDATD TxsoviB9eK8kbHYuoNuieUHj5EWVTs7Vr3eMpp9UonGpWqxm1A/X5mGy0u/haxTOs3FSqt tnyGCequ2ia+7RUnz7wYjIufPSWaz68= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=c1ycAfvS; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 134.134.136.100 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1676641580; a=rsa-sha256; cv=none; b=J3W+1d65QOdw6mX6YJKHBuDXSF3/dPkw1+mW2DePmjSky6BtuteYIkc9QRkVmD3JOgaatA LNRnJBSdHw+qU+GjVwHaORiIDUSRreKQQQgQYgwls3JcH7AqnnR22g5rFghxKyluIPzstH Vadkl4iWNqv/l3dbVNpgZUcdK0X1I/g= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676641579; x=1708177579; h=date:from:to:cc:subject:message-id:mime-version; bh=oUfZe0ORCuM5CknOTmMVApXRzgKQLK6GUTZz0URBOe8=; b=c1ycAfvSdFPLh0HWBGBQaNn44wEcebPTFA61Q4oSUBeEKgr1691Dw/wI Jd2j6+Gg4olYBCoj7gxhvuxj0U123QnLkK61IMLXVrlfSjNKemDGzGJ28 BjIowbxfGjsHmaPQdk4Z4PhQS76CtAQ0uy2eAyATJ+xz3hWsrGomcPgzc 3aeRpW6jtBmWwZJEA+TNJWbUXbG3HgYT7h9krWxakg/UZayAMHdx2rRBx /nXv7VJe4kD+y83gE7c/PxZP56+SlzEJVZ6zpXHn0AHHVmFWy0AfuDFbf ee7rNiYIOPeK0/09lojlYep9/XZv0aSlreGwm6ve4LGEfi7VaF/I4/xpA Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="396663304" X-IronPort-AV: E=Sophos;i="5.97,304,1669104000"; d="scan'208";a="396663304" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2023 05:46:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="813378492" X-IronPort-AV: E=Sophos;i="5.97,304,1669104000"; d="scan'208";a="813378492" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 17 Feb 2023 05:46:15 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pT142-000BVf-1Y; Fri, 17 Feb 2023 13:46:14 +0000 Date: Fri, 17 Feb 2023 21:45:40 +0800 From: kernel test robot To: Alexander Lobakin Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Martin KaFai Lau Subject: [linux-next:master 12987/13499] include/linux/build_bug.h:78:41: error: static assertion failed: "SKB_WITH_OVERHEAD(TEST_XDP_FRAME_SIZE - XDP_PACKET_HEADROOM) == TEST_MAX_PKT_SIZE" Message-ID: <202302172104.q3ddwzqu-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 13F2AC0013 X-Stat-Signature: z1txam7ir57yq7oszqap5b58epwt4pkz X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1676641578-944973 X-HE-Meta: U2FsdGVkX19fKitD9ue2cPXfz1YxjFfNbCnK6t3w+94SWR5uQHfNwysB1HhzQMFibwqEuPdtg9MTgfXwmiHJK42aSw2RWgyraRU13ZEUXvYGJpBAvYbOaLJGkxrauxEK0bWfEBpewsw02OYgEPeIvtlRaXBEX/6h/m1xltD5yoKv96FOl2sRFtF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ttqi+6M12FmXaxXaqoQog1UzhEf6WOGi8zJGqlvjnFz+lV1Yybne4R1yfFjVTQEsXdAUKjcsdux+V0NpDvD6bB+B6x77QvvThEa05FZCn2Cs/08+YCbHkV/R8eFErjC3Wx1nAr7Kr9rBr3FzZ83tuNhj0r5zyYLV0JEaYeFc7g8KS1ylaD2trhYfZnFmEl2nx2OecWKUem2os3Hn+oBj6w== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000005, 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: c068f40300a0eaa34f7105d137a5560b86951aa9 commit: 6c20822fada1b8adb77fa450d03a0d449686a4a9 [12987/13499] bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES config: ia64-randconfig-r025-20230213 (https://download.01.org/0day-ci/archive/20230217/202302172104.q3ddwzqu-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.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=6c20822fada1b8adb77fa450d03a0d449686a4a9 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 6c20822fada1b8adb77fa450d03a0d449686a4a9 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash net/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302172104.q3ddwzqu-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/timer.h:5, from include/linux/workqueue.h:9, from include/linux/bpf.h:10, from net/bpf/test_run.c:4: >> include/linux/build_bug.h:78:41: error: static assertion failed: "SKB_WITH_OVERHEAD(TEST_XDP_FRAME_SIZE - XDP_PACKET_HEADROOM) == TEST_MAX_PKT_SIZE" 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) | ^~~~~~~~~~~~~~~ net/bpf/test_run.c:132:1: note: in expansion of macro 'static_assert' 132 | static_assert(SKB_WITH_OVERHEAD(TEST_XDP_FRAME_SIZE - XDP_PACKET_HEADROOM) == | ^~~~~~~~~~~~~ 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