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 810DDECAAD5 for ; Sat, 10 Sep 2022 08:06:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 81B9D6B0071; Sat, 10 Sep 2022 04:06:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7A4A98D0003; Sat, 10 Sep 2022 04:06:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 644868D0002; Sat, 10 Sep 2022 04:06:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 532C46B0071 for ; Sat, 10 Sep 2022 04:06:14 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 2AEB6120822 for ; Sat, 10 Sep 2022 08:06:14 +0000 (UTC) X-FDA: 79895443068.23.04C8CD2 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf26.hostedemail.com (Postfix) with ESMTP id 537331400AE for ; Sat, 10 Sep 2022 08:06:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662797173; x=1694333173; h=date:from:to:cc:subject:message-id:mime-version; bh=BdZEgvnSQknkUv7xOP/nKaIkrQLGzCwviZhfCZwmB+4=; b=iqc0/tRrfAe6BETt13WatwvD/7gXHBOlRrUQ/nwxKB7Ti0aBaq3oexCh TVhBTN3UyF8EeQS2WT8ALnzS0acn+jI2J7P7heJcmxgsLtGPlD/QEsO+1 EKL+/ffYtL/UBsmJwhLEQXPQ6VD/NaMN+xZhO31hjqQUVUt3OYpCr8U6W c7W/J22HMGFY21gxSQ4Mjo7Z4k5T0kFMoWi04oQds4Hyvxq2Lqxbml0Nw XtfJ13+A2E5NC6xbFXet2Bjs9VyPXqCMOYhwjlWwMMSTq2vjbeGA1khyA EptxsEsH/pcEBXOi36oH7qbwBkSfIAmG+QHLm1ZPCdPToWy1EdwZa7gDc A==; X-IronPort-AV: E=McAfee;i="6500,9779,10465"; a="298960398" X-IronPort-AV: E=Sophos;i="5.93,305,1654585200"; d="scan'208";a="298960398" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2022 01:05:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,305,1654585200"; d="scan'208";a="645821087" Received: from lkp-server02.sh.intel.com (HELO b2938d2e5c5a) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 10 Sep 2022 01:05:46 -0700 Received: from kbuild by b2938d2e5c5a with local (Exim 4.96) (envelope-from ) id 1oWvUo-0002IV-0V; Sat, 10 Sep 2022 08:05:46 +0000 Date: Sat, 10 Sep 2022 16:05:44 +0800 From: kernel test robot To: Vlastimil Babka Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-mm@kvack.org Subject: [vbabka-slab:for-6.1/fit_rcu_head 2/2] mm/slab.h:94:1: error: static_assert failed due to requirement '((__builtin_offsetof(struct slab, counters)) & ((unsigned int)(16) - 1)) == 0' "IS_ALIGNED(offsetof(struct slab, counters), 16)" Message-ID: <202209101614.lMCcS0Zj-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662797173; 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=p+qbI+l8KNa7n2b3xvPieX7fquBS5vkPGh6m/wiiCgI=; b=6yAtIEG0InEmyGA/6hZVRiLIo/bGpgwCYf8wNmkwBn7YudYPWp7lKagBagfLUzSj+BMpjJ FkAYBCQ1XsuBjzeMdxPArWWgtZrC/p1IEJb2wWgWi0Jsypaxo27FQW+lV9UC+dCzTujbDK IEKdNb5qTILxzFPz2D9hwjI3802qaUo= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="iqc0/tRr"; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 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=1662797173; a=rsa-sha256; cv=none; b=YXW/wspL4AD7sTVBnFOOyAQ7wMduHKIPo9syu6SlzmMjShwEqSQ8FeibrHVAeXC7x7rc1l B6/ovMKg9ZHFOq5aHyS1X+Q2+LmPnhxIaaYV/a94ni0msbS9NVQzIqe/4FkAjmAJL0V0eh GIghIW7RatfFKT2neU7ra3F5o5fW9cg= X-Rspam-User: Authentication-Results: imf26.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="iqc0/tRr"; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam06 X-Stat-Signature: 6sz3sfnhucgsbrx5h8g8cceacumuio7g X-Rspamd-Queue-Id: 537331400AE X-HE-Tag: 1662797173-67468 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: git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git for-6.1/fit_rcu_head head: 2af0ec317dc8f99f0620af23ff6c288bb6f49be5 commit: 2af0ec317dc8f99f0620af23ff6c288bb6f49be5 [2/2] mm/sl[au]b: rearrange struct slab fields to allow larger rcu_head config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220910/202209101614.lMCcS0Zj-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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/vbabka/slab.git/commit/?id=2af0ec317dc8f99f0620af23ff6c288bb6f49be5 git remote add vbabka-slab git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git git fetch --no-tags vbabka-slab for-6.1/fit_rcu_head git checkout 2af0ec317dc8f99f0620af23ff6c288bb6f49be5 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from mm/mempool.c:21: >> mm/slab.h:94:1: error: static_assert failed due to requirement '((__builtin_offsetof(struct slab, counters)) & ((unsigned int)(16) - 1)) == 0' "IS_ALIGNED(offsetof(struct slab, counters), 16)" static_assert(IS_ALIGNED(offsetof(struct slab, counters), 16)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:77:34: note: expanded from macro 'static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:41: note: expanded from macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^ ~~~~ 1 error generated. vim +94 mm/slab.h 90 91 #undef SLAB_MATCH 92 static_assert(sizeof(struct slab) <= sizeof(struct page)); 93 #if defined(CONFIG_HAVE_CMPXCHG_DOUBLE) && defined(CONFIG_SLUB) > 94 static_assert(IS_ALIGNED(offsetof(struct slab, counters), 16)); 95 #endif 96 -- 0-DAY CI Kernel Test Service https://01.org/lkp