From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 4DCA31A5B8B for ; Sun, 14 Dec 2025 13:17:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765718266; cv=none; b=Yh3hOJlnjUmHF04f02cTYi2qTHldCnjHodPVvU5DhKFpczwP+G5FJdLj0ku+275B0U9H4I6FLa45DBIvFaanAATK2kIV+FVUq4smTSUkWDpKoNPgeooktnu8tsIJBErTScEyAPLt7R1LHtPKIIKYubXSCZURl3142FdhIOGjP6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765718266; c=relaxed/simple; bh=XmtOq1WlOXv5tvapcKs/oIm0cZgNGon3Gb1VCrDVVgw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fjlDbR43TNNYjWQPVrGM/w/Tk0YYn+OyUwkaDCjP1sbPYSj8obSGZ3KzK3e2BTzaOX7MO80L+RYf64H26Q0zrm5TQbkPzYL9eVzFOJ6K+Hrx9rnmQ7soGSGfvOhpAGlM0MH+U5s2Ysi0P63RshLeP7wO2urFnkjkYsAC+wYWZiM= 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=fS6rKOxE; arc=none smtp.client-ip=209.85.128.42 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="fS6rKOxE" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-477b1cc8fb4so15285735e9.1 for ; Sun, 14 Dec 2025 05:17:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765718262; x=1766323062; 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=mpywd0ooBqabRS+5lH7EYtrqn3sd1kp/pArhDDLgKLk=; b=fS6rKOxECWqFG4sVcdaFbufZFN0mNF9qFZ7VjjqnN2KZvEygJpFhJLZAxt6NvZLFVu f+DTEadQhuz4AekF2cWxUtc6075GBBhfbApDp9/0MkXytirYBLDLrsEkIpf3RmmSUoFY 8tcMQNJd0mGu4nsxXGfrhywKa38I1GfrSwBJGNcYbeh/8r4lexXrBsGXlAkT87Sds8Kk nH2liVbqLto6rS6LS8W2358HZ8t5i9WjGSzZxZ7OoxpYuLrwKqYZlj+hDenqkQNvMuzh CNOG/kWR9nYlRX+m2jvmUVrJEBsmVFXfaElXRHb5q/Qm5XLoW3cxaNskk7RcpcLhz3OJ vePA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765718262; x=1766323062; 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=mpywd0ooBqabRS+5lH7EYtrqn3sd1kp/pArhDDLgKLk=; b=c2AA7eCU/xgHiaWPehOsD0zUnC+MwDdfmD+dV3chwlr0kFbMWDOk/ICovukyw5U0xr QQYwAvPtIlR5Yc7XnkV37PZvtBK04EAyvfPY9I37ExnhNbYqZ5w/GL9ylGWLrUGUCC/+ bk4d6Rj/Dal8HouChKUu9pitVyMIW9qgscgqCvPCfqmX8I4BS3+E+4APXtF+ZwXGcbLq vHujNDzC0kdqfh0YDRMjUdlw4h7oIV/r7G1FiqXqNzq+wweqgzDGOiYt5rt7WNk6HDew DsRpmqTW8x33Y0y4q7CaWJdMN1eGWjIf3i372Hxp4DRTS2K1U2pjqQ7pYUkFF4JU520d m/5A== X-Forwarded-Encrypted: i=1; AJvYcCVESwL0OvRf3HfwZbMTPWCWnZ8qUnC6hjvrlIUiwCjWU1G2zRyKMy2w47/12xfOC9+eKAWa1hdOeEfbrdg=@vger.kernel.org X-Gm-Message-State: AOJu0Yw7pJzSqhqRD1nejyegvbNLGgRc5PHJGtep0Zqd9A46nlQbF3T1 E7imfpLa9rLLs3lu1nO0CsZG55HAkkA8cBb3PEme1BBQYOxh80iyYTxKarvUeQ== X-Gm-Gg: AY/fxX4OR1sCrYFO7j5fgylKSLflvEO0BPkLyyliN7aJwIB3ca9KQArGkNvthPOcgRv AvampcgBXMFmQtQuGYvH6ctNZkzuq3hx1eWGKU1mlII/XyRLzZLA+ShWhCbOgBYE0tUsAkXTJuy N7plaE2wmoXJ+FxkqAD5LwE+2b8z38M8+6lULq2PZn6qFPJsspmUp3k9q+2bMiXyNOjs7Lj6giI bBFIbikQyWNfreXSA7an1wP8MzPcAhT6wHHmlhAZLPXMMv/csOFnlO0RmKhZFPuYQR8SKmmlOrf vUf5RS5cvdikN7Cmq1tBIRyyfFnxMK6CABOE7UHkyxf/p7qpq69Eb4V1f/yNco7oIqYEKcbgWGc Rm6gnXX1924CLz4mqMDxnO4Tv2W70UhLldMtnXEcl6O809RraaxsVWvYsaxx5J3KEwqkNtwLPYi S1ZdLYvXPvmNA3Q8mDDbMWoBS9ch0w/kDVJg6Gm/jO5OIHsm0EDMop X-Google-Smtp-Source: AGHT+IHTX2KIoo6rHKnWJhWyrUXne9SI979vSJQ8O09DKd6yhp5jXCNNQXUTEJFhlKpFkjoCo3wQwg== X-Received: by 2002:a05:600c:a009:b0:46f:d682:3c3d with SMTP id 5b1f17b1804b1-47a8f8c4b8emr81227825e9.13.1765718262416; Sun, 14 Dec 2025 05:17:42 -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-47a8f4af065sm50301095e9.6.2025.12.14.05.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Dec 2025 05:17:42 -0800 (PST) Date: Sun, 14 Dec 2025 13:17:40 +0000 From: David Laight To: kernel test robot Cc: Yury Norov , Rasmus Villemoes , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Geert Uytterhoeven , Alexandre Belloni , Jonathan Cameron , Crt Mori , Richard Genoud , Andy Shevchenko , Luo Jie , Peter Zijlstra , Jakub Kicinski , netdev@vger.kernel.org, "David S . Miller" , Mika Westerberg , Andreas Noever , Yehezkel Bernat , Nicolas Frattaroli , oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v2 11/16] bitfield: Common up validation of the mask parameter Message-ID: <20251214131740.40063fd7@pumpkin> In-Reply-To: <202512141305.J3aPiiBv-lkp@intel.com> References: <20251212193721.740055-12-david.laight.linux@gmail.com> <202512141305.J3aPiiBv-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 Sun, 14 Dec 2025 14:19:30 +0800 kernel test robot wrote: > Hi, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on linus/master] > [also build test ERROR on v6.19-rc1 next-20251212] > [cannot apply to westeri-thunderbolt/next] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/david-laight-linux-gmail-com/nfp-Call-FIELD_PREP-in-NFP_ETH_SET_BIT_CONFIG-wrapper/20251213-040625 > base: linus/master > patch link: https://lore.kernel.org/r/20251212193721.740055-12-david.laight.linux%40gmail.com > patch subject: [PATCH v2 11/16] bitfield: Common up validation of the mask parameter > config: i386-randconfig-053-20251213 (https://download.01.org/0day-ci/archive/20251214/202512141305.J3aPiiBv-lkp@intel.com/config) > compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251214/202512141305.J3aPiiBv-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/202512141305.J3aPiiBv-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> drivers/gpu/drm/xe/xe_guc.c:639:19: error: converting the result of '<<' to a boolean always evaluates to true [-Werror,-Wtautological-constant-compare] > 639 | klvs[count++] = PREP_GUC_KLV_TAG(OPT_IN_FEATURE_EXT_CAT_ERR_TYPE); > | ^ > drivers/gpu/drm/xe/xe_guc_klv_helpers.h:62:2: note: expanded from macro 'PREP_GUC_KLV_TAG' > 62 | PREP_GUC_KLV_CONST(MAKE_GUC_KLV_KEY(TAG), MAKE_GUC_KLV_LEN(TAG)) > | ^ > drivers/gpu/drm/xe/xe_guc_klv_helpers.h:38:20: note: expanded from macro 'PREP_GUC_KLV_CONST' > 38 | (FIELD_PREP_CONST(GUC_KLV_0_KEY, (key)) | \ > | ^ > drivers/gpu/drm/xe/abi/guc_klvs_abi.h:36:35: note: expanded from macro 'GUC_KLV_0_KEY' > 36 | #define GUC_KLV_0_KEY (0xffffu << 16) > | ^ I've just sent a patch to move that warning to W=2. It is picking up the same sort of things that -Wtype-limits does - already in W=2. David