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 99938C30658 for ; Fri, 5 Jul 2024 14:02:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EFD9D6B0099; Fri, 5 Jul 2024 10:02:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EADCC6B009D; Fri, 5 Jul 2024 10:02:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D766C6B009E; Fri, 5 Jul 2024 10:02:56 -0400 (EDT) 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 B89C66B0099 for ; Fri, 5 Jul 2024 10:02:56 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 5CBF6160141 for ; Fri, 5 Jul 2024 14:02:56 +0000 (UTC) X-FDA: 82305865152.25.A746265 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by imf14.hostedemail.com (Postfix) with ESMTP id B4EFC100022 for ; Fri, 5 Jul 2024 14:02:52 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fvFbXjnE; spf=pass (imf14.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 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=1720188161; 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:in-reply-to:references:references:dkim-signature; bh=7Xzn8nrVl0uyL+2+9RM7pH5oHINPGLs7imusZsapbxA=; b=KfvMaOyGvYjpjKGknOWzZ/fjBQcLdKkQPPu+9oWtRA09dxuG+mgi3b+M59TvSnYxrj7vkU Rz7RoGXmxEeuSbNAw3bVL+MI/GImVYqrUKcHaW/bYkTiqaxhoNtmYyecXDoEI4sdwoXfap bs0ZJ2wbtdD/jzaqd/Yeutu8RtL+1Ug= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fvFbXjnE; spf=pass (imf14.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 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=1720188161; a=rsa-sha256; cv=none; b=j4i7vyArJteCJ2uCs2z87CgaoTcbYW8gTDRvw13syYhtaGlAVPsUx/Vc+/CfdJLSFABK4Q OMtBuDV8a1kOx3Sx3rdHLV3BGwVxXp/nXwJtKJPuhaDN2aADBQS8cmZCbOK/mnKCobr2mX x/0PpfWKFEjwfiLtW2xKu8cEYpEMsls= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1720188172; x=1751724172; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ey1kRqQMEA9yWomml3zQYIK4tI58rc7XAbEtt0BRUMU=; b=fvFbXjnEOAGT9P8UM0AHHuFqdW26huNeILsgz+CgU33wqw0ujvsLjmBA bHF5WupvQ3zVyaVf/IRhm52MlkI3rLac6+R99BW8Srgas914mk85+JR7Y vVon3m48gHv7MBbtpwlQJcQypdJbyfCeSzBJEGrGWmY+Autleztwd+pM9 vbA6QRnNWeDSLPQJRY5FYoKM/vAObJP427HACVJlfVQxgEf1wuGt14+jp sRT0T9PNcwote9kD0ixMFCp7KEE6so5s4TU5aoQthG2heuf483yUXp7cO o9dH6IWddF4OV0dsOjmI5bKIw/BaQ+SLKeLD/pWQdah0fqbquhs6/vKHt w==; X-CSE-ConnectionGUID: k0PD7hciT6W9DhTTWkus+g== X-CSE-MsgGUID: yaIOlUuNS/yAjbl4A6ZEBw== X-IronPort-AV: E=McAfee;i="6700,10204,11123"; a="17614478" X-IronPort-AV: E=Sophos;i="6.09,184,1716274800"; d="scan'208";a="17614478" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2024 07:02:50 -0700 X-CSE-ConnectionGUID: i4huqPTzQh+odbRjHbOcRQ== X-CSE-MsgGUID: fIi+5rV6TeOAKVZhGxFuNA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,184,1716274800"; d="scan'208";a="51309171" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 05 Jul 2024 07:02:47 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sPjWO-000SRc-2e; Fri, 05 Jul 2024 14:02:44 +0000 Date: Fri, 5 Jul 2024 22:02:39 +0800 From: kernel test robot To: alexs@kernel.org, Vitaly Wool , Miaohe Lin , Andrew Morton , linux-kernel@vger.kernel.org, minchan@kernel.org, willy@infradead.org, senozhatsky@chromium.org, david@redhat.com, 42.hyeyoo@gmail.com, Yosry Ahmed , nphamcs@gmail.com Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alex Shi Subject: Re: [PATCH v2 01/20] mm/zsmalloc: add zpdesc memory descriptor for zswap.zpool Message-ID: <202407052114.eLXLN20k-lkp@intel.com> References: <20240703040613.681396-2-alexs@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240703040613.681396-2-alexs@kernel.org> X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: B4EFC100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Sf0Ue3Uha9okM1WGR9wdbqLnuIoticuu8BDGWQ3V8/+pedKchgEyB7nB5e8c0i50sDWtMn8ILGdXy/uc4XFaECpukk1zf2EYogc4bYS1F9sKJQRzO/vBMdb3AIiCeJ3wY1jWkG1vNMRNNYeWGXmjUnth+jWDs8AomWbzw14cmVRwKE5mDXF4gaBOV5JuSUNYb5jL/x/IUU/9vYmiayVsip0DzkkW02EndyY2lxMdRoNiDM68GKMF5DIgDGmWEfbN2INwKZswRsKjCiYNmGFg59Es38Lv98EdKXrDmo//U32PiRXe+6JWW4sTz+aYImAPzLId+XL2HLRHnh14mGdC2A9FJsbSfe8bc3BnGdjGoJ/+TY3ELpNvBjwv1qO+SDlofwa2QwTNu1 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: List-Subscribe: List-Unsubscribe: Hi, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/alexs-kernel-org/mm-zsmalloc-add-zpdesc-memory-descriptor-for-zswap-zpool/20240703-182314 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240703040613.681396-2-alexs%40kernel.org patch subject: [PATCH v2 01/20] mm/zsmalloc: add zpdesc memory descriptor for zswap.zpool config: i386-buildonly-randconfig-001-20240705 (https://download.01.org/0day-ci/archive/20240705/202407052114.eLXLN20k-lkp@intel.com/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240705/202407052114.eLXLN20k-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/202407052114.eLXLN20k-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/module.h:12, from mm/zsmalloc.c:40: >> include/linux/stddef.h:16:33: error: 'struct page' has no member named 'memcg_data' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ mm/zpdesc.h:40:9: note: in expansion of macro 'static_assert' 40 | static_assert(offsetof(struct page, pg) == offsetof(struct zpdesc, zp)) | ^~~~~~~~~~~~~ mm/zpdesc.h:40:23: note: in expansion of macro 'offsetof' 40 | static_assert(offsetof(struct page, pg) == offsetof(struct zpdesc, zp)) | ^~~~~~~~ mm/zpdesc.h:48:1: note: in expansion of macro 'ZPDESC_MATCH' 48 | ZPDESC_MATCH(memcg_data, memcg_data); | ^~~~~~~~~~~~ >> include/linux/stddef.h:16:33: error: 'struct zpdesc' has no member named 'memcg_data' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ mm/zpdesc.h:40:9: note: in expansion of macro 'static_assert' 40 | static_assert(offsetof(struct page, pg) == offsetof(struct zpdesc, zp)) | ^~~~~~~~~~~~~ mm/zpdesc.h:40:52: note: in expansion of macro 'offsetof' 40 | static_assert(offsetof(struct page, pg) == offsetof(struct zpdesc, zp)) | ^~~~~~~~ mm/zpdesc.h:48:1: note: in expansion of macro 'ZPDESC_MATCH' 48 | ZPDESC_MATCH(memcg_data, memcg_data); | ^~~~~~~~~~~~ >> include/linux/stddef.h:16:33: error: expression in static assertion is not an integer 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ mm/zpdesc.h:40:9: note: in expansion of macro 'static_assert' 40 | static_assert(offsetof(struct page, pg) == offsetof(struct zpdesc, zp)) | ^~~~~~~~~~~~~ mm/zpdesc.h:40:23: note: in expansion of macro 'offsetof' 40 | static_assert(offsetof(struct page, pg) == offsetof(struct zpdesc, zp)) | ^~~~~~~~ mm/zpdesc.h:48:1: note: in expansion of macro 'ZPDESC_MATCH' 48 | ZPDESC_MATCH(memcg_data, memcg_data); | ^~~~~~~~~~~~ vim +16 include/linux/stddef.h 6e2182874324727 Richard Knutsson 2006-09-30 14 ^1da177e4c3f415 Linus Torvalds 2005-04-16 15 #undef offsetof 14e83077d55ff4b Rasmus Villemoes 2022-03-23 @16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) 3876488444e7123 Denys Vlasenko 2015-03-09 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki