Skip to content

lib: compile generic bitrev based on GENERIC_BITREVERSE

Yury Norov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib: compile generic bitrev.c conditionally on GENERIC_BITREVERSElib/Makefile lib/bitrev.c+1 -40 replies
2/2MAINTAINERS: BITOPS: include bitrev.[ch]MAINTAINERS+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] lib: compile generic bitrev based on GENERIC_BITREVERSE

The bitrev.c is compiled based on CONFIG_BITREVERSE=y, but everything inside is protected with CONFIG_GENERIC_BITREVERSE.

Make it simpler by switching the Makefile to compile lib/bitrev.c based on the proper config. Also, cover generic bitrev.[ch] with BITOPS entry.

Based on bitmap-for-next:

https://github.com/norov/linux/tree/bitmap-for-next

Yury Norov (2):
lib: compile generic bitrev.c conditionally on the proper option
MAINTAINERS: BITOPS: include bitrev.[ch]

 MAINTAINERS  | 2 ++
 lib/Makefile | 2 +-
 lib/bitrev.c | 3 ---
 3 files changed, 3 insertions(+), 4 deletions(-)
Signature · 1 line
2.51.0