* [PATCH net-next v5 04/21] bitops: add missing prototype check
[not found] <20240201122216.2634007-1-aleksander.lobakin@intel.com>
@ 2024-02-01 12:21 ` Alexander Lobakin
2024-02-28 16:18 ` Yury Norov
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Lobakin @ 2024-02-01 12:21 UTC (permalink / raw)
To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
Cc: Alexander Lobakin, Michal Swiatkowski, Marcin Szycik,
Wojciech Drewek, Yury Norov, Andy Shevchenko, Rasmus Villemoes,
Alexander Potapenko, Jiri Pirko, Ido Schimmel, Przemek Kitszel,
Simon Horman, linux-btrfs, dm-devel, ntfs3, linux-s390,
intel-wired-lan, netdev, linux-kernel, stable
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(+)
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.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next v5 04/21] bitops: add missing prototype check
2024-02-01 12:21 ` [PATCH net-next v5 04/21] bitops: add missing prototype check Alexander Lobakin
@ 2024-02-28 16:18 ` Yury Norov
0 siblings, 0 replies; 2+ messages in thread
From: Yury Norov @ 2024-02-28 16:18 UTC (permalink / raw)
To: Alexander Lobakin
Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Michal Swiatkowski, Marcin Szycik, Wojciech Drewek,
Andy Shevchenko, Rasmus Villemoes, Alexander Potapenko,
Jiri Pirko, Ido Schimmel, Przemek Kitszel, Simon Horman,
linux-btrfs, dm-devel, ntfs3, linux-s390, intel-wired-lan, netdev,
linux-kernel, stable
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-28 16:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240201122216.2634007-1-aleksander.lobakin@intel.com>
2024-02-01 12:21 ` [PATCH net-next v5 04/21] bitops: add missing prototype check Alexander Lobakin
2024-02-28 16:18 ` Yury Norov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox