Message ID | 20240201122216.2634007-5-aleksander.lobakin@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-48115-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp110687dyb; Thu, 1 Feb 2024 04:25:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEjXX2h+kDAJPYWpA2i8wChWRjZyFGocVdY27+TLvACJI56GNO/u4j5HQ2DsWkB7b+Jr1/m X-Received: by 2002:a05:620a:c04:b0:783:e054:a25e with SMTP id l4-20020a05620a0c0400b00783e054a25emr2316268qki.54.1706790351293; Thu, 01 Feb 2024 04:25:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706790351; cv=pass; d=google.com; s=arc-20160816; b=gkjhVThsOYMVsP0mi0Hvn2DimsxIi/A0S2IL3TyYeH0diHQbdgNqdTkpsacUHEwwl7 TJudsOQL2Bn6YHuCKrbh8Ejmow9+1xI2QfwAEXLBBm7fZIdaCPV65kK9ItYmqdFPeLaw BaVLHP7xwZqR+Opc1IlzQSkUG03lzs+EsuUOrVnrCLQOYY+OugYwNL/9gjvKtSxc5e8m sRFhHRYYiT09xt/482tX//Lc4GsoPaHuDHIxHGXQcHYKaOrAGC3NKotIYYL56z/tA3RO Co2BxPGll8kfSrDcHryNfeUpGlTaGie5Hn0u0qAbrINmyDOGeWTH5d7yMRDdWUCE8YP/ PChA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Z/aJne2kQO4qsBjmMCabXuV2tyGJo141ImUI5LC0bLM=; fh=An0mnNxWxeQEvEm+1Iv2YSGnJq8kNV+/LXaX6+xiuqk=; b=Wy8PSBppoNRTvSUmMN8bv+RV1eAeNJTPGTlMoP9o8aLsE3cHHKArDcURbl9Nm3gu1u OeWDLmzaiK+1AV+PrG56WvgqptxT5ycV2bczHqJM70VlfsH5McW1XFoApM83v7UmjBva T+yuViyB8PvDyNxNNdog0DRB9W+BsHYv8VOu5lJQxg2sAtPO3nFIbiw41FyRWqOqDVVk Jb1tpnkOWG4SkbHl6XiyJDWZq6f17qocBMfAa3KbHS8gu0LZbQWlEXLecGPlBASXidqz RywEBRyYzcBHzqQS/utUz/Rrwnh0p6VZS/vhpwAWOUBX9LWvcPVwupav+zmN+TdxXxFc 85IA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="S8lJ/gCe"; 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-48115-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48115-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCX0wLnwftz/DVrUJFK9571+TSlZ6qaITnoSgFtKz7Y1i+7rXARs5VlJhrLn8nHz4Ho9TP69Iwq1tYAYEOBSQevAHzrGgg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f18-20020a05620a12f200b00783f6341992si10130573qkl.288.2024.02.01.04.25.51 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 04:25:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48115-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="S8lJ/gCe"; 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-48115-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48115-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1D1101C23AB8 for <ouuuleilei@gmail.com>; Thu, 1 Feb 2024 12:25:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C6BB15D5CF; Thu, 1 Feb 2024 12:23:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="S8lJ/gCe" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 3C71D161B4A; Thu, 1 Feb 2024 12:23:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706790236; cv=none; b=M+1H1KNbHHerXJ2L57+QNiOTbs7Jt76Ris84BG7ABb3nxNVIjDAGOMLch3zVEOn9K+R3W2Ir+IuKygpCSjEguqa6zBiclyqcUpUkV6YKEm2oK5x8PEM+soXGOvjJ37AFw25cHUgPkmDDCaLrkUP1dX4v92uKDE4g6JuN6sIugSs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706790236; c=relaxed/simple; bh=B/sd+sxzN/iXla5JBjYaVGUO67qEImOBIvmA9V4z3CM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OT9G1ILTsmknWk/qVn8V2VURIMEuVx9nN1SauhMrKhcri0aExJbfiGv7ygh1Ehaf1d+TGrhn5tROZvllDasdporErl3ah6h5ddDG0hIsNhsy+Ypdih/qQw0N7u6OgXBWbpvgON7gXWvgdMxr26YPI3t76Dbozjpa3StZqTApZJE= 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=S8lJ/gCe; arc=none smtp.client-ip=198.175.65.15 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=1706790233; x=1738326233; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=B/sd+sxzN/iXla5JBjYaVGUO67qEImOBIvmA9V4z3CM=; b=S8lJ/gCeFa/y8Kt9KXztUSefFkc+8mJyDoPXkT4ya2H2OCZjV1YBi199 H2gT3hRrSBHJjZI9WjKX5bQOwFQUNBEQLL8u40IJv4CZAvEoHwFbS1uFd SclLQEzyGxHNoc9bFU1gL8yxYeNk/r1ko92+RyAV3wcbOHJs4/Lw2JrSB BizkeEiBw4inFtuiQJ6cydlK1HA55+QbiivxHWSdxI+24WmmUps1a5FUK lHmlpMrcEFxgmFIsg3yhfMb4U0timQe5sehaS2KHWI2mPHWwF6RckOiT+ +uyoMunEGteHOSzDuPS9Lx9HUkM83aAaq8sdkV96aWklrm78wLVlZhEKD g==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="3746936" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="3746936" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 04:23:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="4499093" Received: from newjersey.igk.intel.com ([10.102.20.203]) by orviesa004.jf.intel.com with ESMTP; 01 Feb 2024 04:23:47 -0800 From: Alexander Lobakin <aleksander.lobakin@intel.com> To: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: Alexander Lobakin <aleksander.lobakin@intel.com>, Michal Swiatkowski <michal.swiatkowski@linux.intel.com>, Marcin Szycik <marcin.szycik@linux.intel.com>, Wojciech Drewek <wojciech.drewek@intel.com>, Yury Norov <yury.norov@gmail.com>, Andy Shevchenko <andy@kernel.org>, Rasmus Villemoes <linux@rasmusvillemoes.dk>, Alexander Potapenko <glider@google.com>, Jiri Pirko <jiri@resnulli.us>, Ido Schimmel <idosch@nvidia.com>, Przemek Kitszel <przemyslaw.kitszel@intel.com>, Simon Horman <horms@kernel.org>, linux-btrfs@vger.kernel.org, dm-devel@redhat.com, ntfs3@lists.linux.dev, linux-s390@vger.kernel.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH net-next v5 04/21] bitops: add missing prototype check Date: Thu, 1 Feb 2024 13:21:59 +0100 Message-ID: <20240201122216.2634007-5-aleksander.lobakin@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240201122216.2634007-1-aleksander.lobakin@intel.com> References: <20240201122216.2634007-1-aleksander.lobakin@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789699399061406895 X-GMAIL-MSGID: 1789699399061406895 |
Series |
ice: add PFCP filter support
|
|
Commit Message
Alexander Lobakin
Feb. 1, 2024, 12:21 p.m. UTC
Commit 8238b4579866 ("wait_on_bit: add an acquire memory barrier") added a new bitop, test_bit_acquire(), with proper wrapping in order to try to optimize it at compile-time, but missed the list of bitops used for checking their prototypes a bit below. The functions added have consistent prototypes, so that no more changes are required and no functional changes take place. Fixes: 8238b4579866 ("wait_on_bit: add an acquire memory barrier") Cc: stable@vger.kernel.org # 6.0+ Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com> --- include/linux/bitops.h | 1 + 1 file changed, 1 insertion(+)
Comments
On Thu, Feb 01, 2024 at 01:21:59PM +0100, Alexander Lobakin wrote: > Commit 8238b4579866 ("wait_on_bit: add an acquire memory barrier") added > a new bitop, test_bit_acquire(), with proper wrapping in order to try to > optimize it at compile-time, but missed the list of bitops used for > checking their prototypes a bit below. > The functions added have consistent prototypes, so that no more changes > are required and no functional changes take place. > > Fixes: 8238b4579866 ("wait_on_bit: add an acquire memory barrier") > Cc: stable@vger.kernel.org # 6.0+ > Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> > Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com> Acked-by: Yury Norov <yury.norov@gmail.com>
diff --git a/include/linux/bitops.h b/include/linux/bitops.h index 2ba557e067fe..f7f5a783da2a 100644 --- a/include/linux/bitops.h +++ b/include/linux/bitops.h @@ -80,6 +80,7 @@ __check_bitop_pr(__test_and_set_bit); __check_bitop_pr(__test_and_clear_bit); __check_bitop_pr(__test_and_change_bit); __check_bitop_pr(test_bit); +__check_bitop_pr(test_bit_acquire); #undef __check_bitop_pr