# Re: \[PATCH v2 net-next 5/6\] bitops: make BYTES\_TO\_BITS() treewide-available

- From: Alexander Lobakin \<hidden\>
- Date: 2022-10-19 15:35:58 
- List: netdev
- Page: https://ratatoskr.run/netdev/2022/10/1972401
- Thread: https://ratatoskr.run/netdev/2022/10/1969944/t.md

```text
From: Jakub Kicinski <kuba@kernel.org>
Date: Tue, 18 Oct 2022 12:55:20 -0700

> On Tue, 18 Oct 2022 16:00:26 +0200 Alexander Lobakin wrote:
> > Avoid open-coding that simple expression each time by moving
> > BYTES_TO_BITS() from the probes code to <linux/bitops.h> to export
> > it to the rest of the kernel.
> > Do the same for the tools ecosystem as well (incl. its version of
> > bitops.h).
> 
> This needs to be before patch 4?

Indeed :s Thanks for catching.

Olek
```
