Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1678370rbb; Mon, 26 Feb 2024 18:59:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUN+vyMggdpGn+xFi2KrO7KfBIJ/GBT9ZNdpkNwFNeFxl+dJoZHotE3JEuqQf7qXt+nMGkd2DtlEVRf+F+YEiuP09TcCo7cO8QtxcIQFQ== X-Google-Smtp-Source: AGHT+IG4oIdiIkqQE01P9PAB7ReF4J8k/+TnHhHnmlBA4u0w+0+x0wh58jifzmUJiOOf6q09sFnZ X-Received: by 2002:a17:90a:7408:b0:29a:575c:7d90 with SMTP id a8-20020a17090a740800b0029a575c7d90mr6704758pjg.9.1709002750565; Mon, 26 Feb 2024 18:59:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709002750; cv=pass; d=google.com; s=arc-20160816; b=nAAac7X7epNsZTeK/uEsvEt1Ww5o/Zs7nWZpYQaDX9El2FGbMosNUlcQYZ2kWSfAbZ U7BqhqrIR6Tl+caKM+R6WnstQNRYXIzrOIo2wL8SXDZMUqIfhDPHi5R+asw8WE3VnV+W AhupGwg0txzYE7SvEulcP5dOM7LAvVWFCe0IucHLA9kdOlbCTDv2L30nMIcgBjgrFdxB iPt/fN4rO1XnMPtIQIe0MVrb65YyEVcFTPZRUwqYi3IVAjRKO86h8R3j8xH1I+ARY52S xphecXEgTYz6WUZ92g4BJZhkvtM4Yn+7Rw8YuObXf76oWOuuxpBZRYHgTp5S4of3Iu8h Gq0g== 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=V/2IY2XPHKi9BrtmbF1mnmsfoyQBvMm4BXICybx/7pk=; fh=0Ps/yCUl4WwmWpAe8l09In427BLnC3hBTpxRaRfdjfY=; b=NKtUE20Lp+VZadWAEWlyya5XB4alQeW9LTesrYP+n6Tzq3TjeFtNzi7YWjiZsDI828 mTFM0FFRp+J2yXF5KeZPbkKmFVkqe3ebZ3cuhJyLnwKDocIgkCNjmkCx1rSiL3/lXmna ViseiL61As+0b2KZRfRABNdnEyLL3aPxy64KuPxlTlHKZgskl2yRPXAHe0AEilqjGfgH t3oROAG22mjn5Vj4nhwDQtyaG/MzSACNt3MtyOjsZPabeuK/tuzW4p973dkUyidxSKYn ADqkDDdmzDlWptBPI30pt70szkqNPlCu6qaFlYoCmmboGBLNr7efAj1eR+34/cWWF61Y dylg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XHXSkwFa; 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-82632-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82632-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id r6-20020a17090aad0600b002995b3a3d71si6483913pjq.64.2024.02.26.18.59.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 18:59:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82632-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XHXSkwFa; 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-82632-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82632-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 000A5282CAE for ; Tue, 27 Feb 2024 02:59:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBFB5199B4; Tue, 27 Feb 2024 02:59:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XHXSkwFa" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 69C071947E for ; Tue, 27 Feb 2024 02:59:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709002744; cv=none; b=S1TYM1GNz4WeBdIc8fRr/7KHZQoBZbORJ26i9/T1iq7XnExZX2kY4MYL37/XD4Ugm8gkobWE2zhmy9KFDxUyCFIsSAEpxPT4m1HINuaz5tsnG+80zwbDjjhJttBWsGHNaNHuOTTEh8UvL6B1wojLyNY8NB0gvUG0AXHl5D4MRCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709002744; c=relaxed/simple; bh=pG8UkASBn+kleG4FpXjHGWcWzXdV2rPxUqvjSKr6tiE=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=aOcFLyy4EFueYci3edmA2ot0sAMcwTePXPZA04BvANj78zCObmVIql+kE2+odXzpVG5YdY7gwJFhrX4RSfFeNACK43//56Zdc/rmZGiatlwVRIPosTZOTzbGLGGEI2SROM8YT0PZ3s9Mjf08+iEO0D27uhDYKZ++rRmifUr0Sh0= 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=XHXSkwFa; arc=none smtp.client-ip=198.175.65.10 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=1709002742; x=1740538742; h=date:from:to:cc:subject:message-id:mime-version; bh=pG8UkASBn+kleG4FpXjHGWcWzXdV2rPxUqvjSKr6tiE=; b=XHXSkwFad9a4niwilHezt7R6/ielF9mWPQo49ZHfEaolbfbRv8xQmpQE zt51htkxdCPsOUnkEkz5TfHHNyy2btAked5td6SNWl2iSEy5z0jTgZCLT NVhggCn/CPHucO2YWl1adeureWirPL0k9w1yvbgc1rIcoDVAS1N+K3Nrr Ap8jZtA3eLqsFcTuFBm4Q6B+EPcsPMuaIVwuzXBuaY5L/joPkRCbPnYjg 1j085IfPGFB0cSG/chj07+fHcWrcqf5uNwcwYytSsjKEQJLwffHDjFfBx NYG64DER9Aj81oMlNP60vzhPx7oiUpXxMePKgQC8RcJd8GdmVq5JFa263 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="20769731" X-IronPort-AV: E=Sophos;i="6.06,187,1705392000"; d="scan'208";a="20769731" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2024 18:59:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,187,1705392000"; d="scan'208";a="7242879" Received: from lkp-server02.sh.intel.com (HELO 3c78fa4d504c) ([10.239.97.151]) by orviesa007.jf.intel.com with ESMTP; 26 Feb 2024 18:59:00 -0800 Received: from kbuild by 3c78fa4d504c with local (Exim 4.96) (envelope-from ) id 1renfq-000At7-1r; Tue, 27 Feb 2024 02:58:34 +0000 Date: Tue, 27 Feb 2024 10:55:46 +0800 From: kernel test robot To: Ingo Molnar Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner Subject: [tip:x86/apic 1/2] include/linux/smp.h:221:27: error: 'setup_max_cpus' defined but not used Message-ID: <202402271008.YvpQ54cP-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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/apic head: 62aaed88843a9a69b5614f99ec4a2930edd09658 commit: 429bb0269058e2e1f4ab69a0d33d374933aa15b9 [1/2] smp: Provide 'setup_max_cpus' definition on UP too config: arm-randconfig-004-20240227 (https://download.01.org/0day-ci/archive/20240227/202402271008.YvpQ54cP-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/20240227/202402271008.YvpQ54cP-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/202402271008.YvpQ54cP-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/lockdep.h:14, from include/linux/spinlock.h:63, from include/linux/mmzone.h:8, from include/linux/gfp.h:7, from include/linux/umh.h:4, from include/linux/kmod.h:9, from include/linux/module.h:17, from lib/test_bitops.c:9: >> include/linux/smp.h:221:27: error: 'setup_max_cpus' defined but not used [-Werror=unused-const-variable=] 221 | static const unsigned int setup_max_cpus = 0; | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/setup_max_cpus +221 include/linux/smp.h 220 > 221 static const unsigned int setup_max_cpus = 0; 222 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki