From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B79D13D8B1 for ; Thu, 22 Jan 2026 12:21:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769084510; cv=none; b=llC+CQqe1FYI4Sg3/wbLoj0ujj69x1TJg3NM6Y12aHkhcy6xQmYoJNOFuIqA75Xk7x6StUYNPbWz2KCj4BbsnxcMzBcK9HbAkYZGUsQ3a7aeSjP+URD97FRsyNHOockGIj05UY/x+Bnpa3+QhJaOod+cPR0JFXMSTckaon3dgMw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769084510; c=relaxed/simple; bh=7hrihdavUKSRBk1sLsO+Hg6KhwRPOnr3OMEgf2c2K3A=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=q99JJEV7blqwUgqqylalBzW+ZbGYOPFLOv1VXgvkJb/HHibwWqENXjPSCGfsi2S0qD6rS5a3LtVTvOsZ0BKDjgiYgZEMhZEhzuXICunwPqfJ04AKsgAc56FXx/Fw7FJ++V1wLsKIEbdUaFEEDcnvTx6SB0NLmvr6V88vYbGe6lA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZP91aVC4; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZP91aVC4" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-b87003e998bso349915166b.1 for ; Thu, 22 Jan 2026 04:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769084508; x=1769689308; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=0WniyRiiurCuuasCidSwYbmBfTajQvRsR2qN3REFSig=; b=ZP91aVC4UXxewtN0YJ9NYLSWqxsn0zfnm2MqflgqbijRijCqCKx+N0RI3B4uNRDRqU XYjwRVQbe63sgk+bQilcxA8GmK/1F8jeBbMJ+x+ERZfOqUbwWfzgL/1xh/Mr6/TouUJp kzC4wmk7XiSa0rtv5N9i1ODl+XO82/Tyk+1Oox/zhwVZAxS/b7QTww5nuoegRGEiaOOX EGPXM2cMwkuLCQAwysxCPFHuOywvJ70w4WjtVj9ICp2K2invlGUavxQAb0O4hQwj+qzi eZswPioXnzjuAVFeIGr/Oqs1CsKPsOAOFfiaCsuoyMlIXQJW6bsko5YYG0sE5+VZ8LXa 6s+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769084508; x=1769689308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0WniyRiiurCuuasCidSwYbmBfTajQvRsR2qN3REFSig=; b=nU/jKLnB4yEDOXWISWeFQt+1nZnWtyoUX6NlFUnDCOt6oC5eEBngqmDTKx96NjniNd CTsccGdM8IPzYsQTfS2RQ92LGHmdzk2sk0xYEm31dgXyCwEeFGDEdia5GHLLXBCqvDa+ G/Wwv1xwmvvxRhmJ0kn7OX23g5uXFdod1bvql0eeEH24sxQW9BwSXKmbznvBxQuwGhRg dRJOejGH3xd6rbpaO2RSSKLttAaph2Vb0QyX7qOWmRuLjfugmfoV8ecZc0W2l+Um7N0e rhMlKn9w0gkCxKs18u5vP8u2LR8FGdmeRbxK2G05QXf9pwshd956ngEAgE+CJZ+otgEC Yobg== X-Forwarded-Encrypted: i=1; AJvYcCXZDT/4brsi29ZCj6HPoGLGQu1c3Y5N7sbSTCrQXFqcPyTC7RqLOkIP/gDBgTZ/dwMItktoUYNHfwRWuqs=@vger.kernel.org X-Gm-Message-State: AOJu0YzO0fZHc8OZR/AaO9dKeOFf6Wn629Gl5QCclxvRVRukhP9S4oWC lZQmGf8GUSfPBfZXwUZpPDxtFZo4AG3Jb2CUISomNpeCEI5uGUIwvqMQA5xI4w== X-Gm-Gg: AZuq6aJepMiciQAI7yYakhOtEkifUYRz4iVAn1Bzr2RcbLpz0fxMPllTRW9Y+o2NiHM SGYrLm4pH0+7UuMNMDBUyj9Ho+OvQVg465ZhSQ3Kg/E/srOxD+i3atS/l2jFopUQkccA1AKCcQ0 Mvb3C+hrHd10Ekk8WcKbJLj/bunqTv4gzsN4829DC5OHQBWwuE7+UHICiIwMeE7Y9+NYDldgiA7 /UOCscSzTuHI9QQp0+uWeIJLqezjjnWa3WyFIIuoljtL7QAf4bCIuKfMGsW4O4H2y8qngGTk0LD lHEqOYxEm77zQUt3P599YgWcWS0fDejHL4vY8jRPxCVl7Dg20Ws+R/JUwlqRvYhVgAFA3jNYvVJ PWjSbM/YT0DMyzQ/A/OhDOm99ZpEsSu1Xak4wJxnNwU4juKKKbrGUZvyxbapRSlSs6yZ0AH0gmp oQHie3pwmwmDHO/tyT3dSL5CoYCTNGWNHUEtfsROjMj7+pVtUr6VYR X-Received: by 2002:a05:600c:2d92:b0:47d:87ac:73ef with SMTP id 5b1f17b1804b1-480470c7513mr21530765e9.13.1769077831210; Thu, 22 Jan 2026 02:30:31 -0800 (PST) Received: from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48048b49880sm44067865e9.11.2026.01.22.02.30.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jan 2026 02:30:30 -0800 (PST) Date: Thu, 22 Jan 2026 10:30:29 +0000 From: David Laight To: kernel test robot Cc: Nathan Chancellor , Greg Kroah-Hartman , Thomas Gleixner , Peter Zijlstra , Ingo Molnar , Mathieu Desnoyers , Arnd Bergmann , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Yury Norov , Jani Nikula , Vincent Mailhol , Andy Shevchenko , Kees Cook , Andrew Morton , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: Re: [PATCH next 12/14] bits: move the defitions of BIT() and BIT_ULL() back to linux/bits.h Message-ID: <20260122103029.255b3dd3@pumpkin> In-Reply-To: <202601220951.7C4YG7hB-lkp@intel.com> References: <20260121145731.3623-13-david.laight.linux@gmail.com> <202601220951.7C4YG7hB-lkp@intel.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) 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-Transfer-Encoding: 7bit On Thu, 22 Jan 2026 09:23:16 +0800 kernel test robot wrote: > Hi, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on next-20260120] > > url: https://github.com/intel-lab-lkp/linux/commits/david-laight-linux-gmail-com/overflow-Reduce-expansion-of-__type_max/20260122-013456 > base: next-20260120 > patch link: https://lore.kernel.org/r/20260121145731.3623-13-david.laight.linux%40gmail.com > patch subject: [PATCH next 12/14] bits: move the defitions of BIT() and BIT_ULL() back to linux/bits.h > config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260122/202601220951.7C4YG7hB-lkp@intel.com/config) > compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260122/202601220951.7C4YG7hB-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/202601220951.7C4YG7hB-lkp@intel.com/ > > All error/warnings (new ones prefixed by >>): > > In file included from kernel/bounds.c:14: > In file included from include/linux/log2.h:12: > In file included from include/linux/bitops.h:28: > In file included from include/asm-generic/bitops/generic-non-atomic.h:7: > In file included from arch/arm64/include/asm/barrier.h:14: > >> arch/arm64/include/asm/alternative-macros.h:18:20: warning: 'unsigned' is not defined, evaluates to 0 [-Wundef] > 18 | #if ARM64_NCAPS >= ARM64_CB_BIT ... > > 4c0bd995d73ed8 Mark Rutland 2022-09-12 17 > 4c0bd995d73ed8 Mark Rutland 2022-09-12 @18 #if ARM64_NCAPS >= ARM64_CB_BIT > 4c0bd995d73ed8 Mark Rutland 2022-09-12 19 #error "cpucaps have overflown ARM64_CB_BIT" > 4c0bd995d73ed8 Mark Rutland 2022-09-12 20 #endif > 7cda23da52ad79 Will Deacon 2020-06-30 21 Unless I change BIT() back I'll change that to a static_assert(). David