Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp123776lqo; Wed, 27 Mar 2024 08:31:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUxDZFhzE1gduU6p+ZPFBufnf46LR/Gzf29Nd8fg5Ei/45pafNDePUHeJzME/MlWlGiaQ+WOjMuPnqboWgQS0RnOoQW/2YNKy/0XhbRg== X-Google-Smtp-Source: AGHT+IE+VyCQcchtyP88lpRcwjnp9vozEBcyR6NZaoZhkctqVvSZotSYrTsWJTLZ2O9MDjuAd3R+ X-Received: by 2002:ac8:570b:0:b0:431:44d9:53d6 with SMTP id 11-20020ac8570b000000b0043144d953d6mr1451675qtw.57.1711553514160; Wed, 27 Mar 2024 08:31:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711553514; cv=pass; d=google.com; s=arc-20160816; b=pV0dhx44HKsbqiydHfHJIL7dndFECNEaLA15DNNhbAVlP1BvR/MsquubxddJOHIC6T uMIUGcKTBcjyH0yMsiLor4j5t54Ouaq4VecMDbM1Nc9Of2i0ktUE8fpG3YTnYwGp9shI o0O0kPvWQrHqXupsPufYRwHe79CUFxydllNv0B/1fBQd4xZtyLQqvfCVIvBZmJ+Leaq9 ERwCea3+Gs2ifr/tqqxNisUMGIJWb7gyqYyrIp5cPEhrDpezjAShaXtBtnnj4bCnA5k1 q83XFSREibcVGivDs/wFNnrsEoIxKKnNawzfdCc6aHyuBpkOOi+wMX4SEvFWA2pk1BH5 Psbw== 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=5bzpAGGmxSumtfAIG9LtKZvSRXZTyNWs9m5xL7//Fbo=; fh=Z7nwqFw9jo7mwUVP6sFBJfcE9oHe3fvGcHvWZvLmnnc=; b=jNHO5bpvjfCBxEXVIQ+fam17ZmLJ04wJZdpkYdtimW5V1GwP3o+XMA1ahe9YbRQlmz NdRLfSoryVCigk0ejAHcY5YK16JeqPsgr0tJx13Tex8Vtez7OB9+B3NJuSBoNt/ZRthi /7C3C56j264VIl98F+XGfUpY7OnMOmkEsc/aflKyeGFhV0Bjcqhj9DSiCfhjjDu6RbV4 JYOWJfNl+ZdCmXHpKP6V4bMZkL+cXaglDVATmlWjHBY1T5v9Cs74V9dr5Fhn+QAd6Xf9 pJgnOenrvbRfPpJH4kn1gT98ScI8aWodCZy1fEnNn7gOczGK8QKlTZR/BRdnRdEVG2Fe 10UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MSCY6PNK; 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-121514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r2-20020a05622a034200b00431828bbc53si808539qtw.235.2024.03.27.08.31.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 08:31:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121514-linux.lists.archive=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=MSCY6PNK; 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-121514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121514-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DFA421C25FC4 for ; Wed, 27 Mar 2024 15:31:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EFED1422BA; Wed, 27 Mar 2024 15:24:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="MSCY6PNK" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 AFAF713A3E5; Wed, 27 Mar 2024 15:24:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711553094; cv=none; b=cGAuwTmIToD1ogtRihgeXCgaBNI/DMcLrL7XPV10xF6mhLJ0X8sLAMUKVu4wc9yc829Xu9sbFArxmDRney8xh5MXhKnSpdkDlYZcI+8lHnnarobOMkEYRHNF43uiptAJX32XIApnZYCleELtnva/2jiFnR1hDit2mNVbcqbPum0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711553094; c=relaxed/simple; bh=K8EtF1oz7qGa6EZGjVbDGQaJGDn7Nfv4xr++cP1EjNk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pb4Chvg9qJgLnDM2w+3Xl3xWh7L2eBRKq7E/CLl4yljREgScTiYU6hneM5wofn6F5OgBtMLKkaNaF7pTqW6y+KLg+sw1FQtkOj3oBDmxmwZMHQyObWzn072YwwqGAlr05oUthdazr1T3louqBu6wojlBUlKwOEIoPrXIoe5Y4WE= 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=MSCY6PNK; arc=none smtp.client-ip=198.175.65.19 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=1711553092; x=1743089092; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=K8EtF1oz7qGa6EZGjVbDGQaJGDn7Nfv4xr++cP1EjNk=; b=MSCY6PNKTP23vGD/2hIU2hwGrxjACySyOdhvWwQSzFVQNL9UAYw0N18B QOOFVnfy7EEiDS3hPyTm32XhiHgbBAbmCOsP5+Hr8TJo/OkMRpgKVt9R3 uUXfxNlJ++QQFKVEWVytmq1AOWxBnscgaaGulzQOFNje9QaSzgqFiut4h KsZNf8DoiuczwhkWQwjerdI9WFMF4y1cXpskWIFyknFrgC+QGpzqUUkk+ rV/Ug4ftpp2POa5uo4gsAj4Ia2Dwl9f3LPQNQstbt1Q5dMgmsXfq5Ptsp coqkohaNHr1fP7NAdXUH/ShI6oI3CUY8lzqk/vgeiOYk25+bSd7XfPTa+ A==; X-CSE-ConnectionGUID: Gk8Xw3SnRs2lcsPEjI9KnA== X-CSE-MsgGUID: il7CuF7dT5abml00iU9qxA== X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="6518117" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="6518117" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 08:24:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="16414126" Received: from newjersey.igk.intel.com ([10.102.20.203]) by fmviesa008.fm.intel.com with ESMTP; 27 Mar 2024 08:24:45 -0700 From: Alexander Lobakin To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Alexander Lobakin , Yury Norov , Alexander Potapenko , nex.sw.ncis.osdt.itp.upstreaming@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Przemek Kitszel Subject: [PATCH net-next v6 04/21] bitops: add missing prototype check Date: Wed, 27 Mar 2024 16:23:41 +0100 Message-ID: <20240327152358.2368467-5-aleksander.lobakin@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240327152358.2368467-1-aleksander.lobakin@intel.com> References: <20240327152358.2368467-1-aleksander.lobakin@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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") Reviewed-by: Przemek Kitszel Signed-off-by: Alexander Lobakin --- include/linux/bitops.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.44.0