All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c
@ 2025-11-06  8:02 Andy Shevchenko
  2025-11-06  8:02 ` [PATCH v1 1/2] bitops: Add missed file to MAINTAINERS Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andy Shevchenko @ 2025-11-06  8:02 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel; +Cc: Yury Norov, Rasmus Villemoes, Andrew Morton

Update MAINTAINERS and fix hweight.c to avoid kernel-doc warnings.

Andy Shevchenko (2):
  bitops: Add missed file to MAINTAINERS
  bitops: Update kernel-doc in hweight.c to fix the issues with it

 MAINTAINERS   | 1 +
 lib/hweight.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v1 1/2] bitops: Add missed file to MAINTAINERS
  2025-11-06  8:02 [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c Andy Shevchenko
@ 2025-11-06  8:02 ` Andy Shevchenko
  2025-11-06  8:02 ` [PATCH v1 2/2] bitops: Update kernel-doc in hweight.c to fix the issues with it Andy Shevchenko
  2025-11-06 16:52 ` [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c Yury Norov
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2025-11-06  8:02 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel; +Cc: Yury Norov, Rasmus Villemoes, Andrew Morton

In accordance with the history and nature of the operation
add lib/hweight.c to the BITOPS record in MAINTAINERS.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 3d599e8b8b00..a27b48ddfe6c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4393,6 +4393,7 @@ F:	arch/*/lib/bitops.c
 F:	include/asm-generic/bitops
 F:	include/asm-generic/bitops.h
 F:	include/linux/bitops.h
+F:	lib/hweight.c
 F:	lib/test_bitops.c
 F:	tools/*/bitops*
 
-- 
2.50.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v1 2/2] bitops: Update kernel-doc in hweight.c to fix the issues with it
  2025-11-06  8:02 [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c Andy Shevchenko
  2025-11-06  8:02 ` [PATCH v1 1/2] bitops: Add missed file to MAINTAINERS Andy Shevchenko
@ 2025-11-06  8:02 ` Andy Shevchenko
  2025-11-06 16:52 ` [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c Yury Norov
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2025-11-06  8:02 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel; +Cc: Yury Norov, Rasmus Villemoes, Andrew Morton

The kernel-doc in lib/hweight.c is global to  the file and
currently has issues:

Warning: lib/hweight.c:13 expecting prototype for hweightN(). Prototype was for __sw_hweight32() instead
Warning: lib/hweight.c:13 function parameter 'w' not described in '__sw_hweight32'

Update it accordingly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 lib/hweight.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/hweight.c b/lib/hweight.c
index c94586b62551..0dfcafc3fd39 100644
--- a/lib/hweight.c
+++ b/lib/hweight.c
@@ -4,8 +4,8 @@
 #include <asm/types.h>
 
 /**
- * hweightN - returns the hamming weight of a N-bit word
- * @x: the word to weigh
+ * DOC: __sw_hweightN - returns the hamming weight of a N-bit word
+ * @w: the word to weigh
  *
  * The Hamming Weight of a number is the total number of bits set in it.
  */
-- 
2.50.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c
  2025-11-06  8:02 [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c Andy Shevchenko
  2025-11-06  8:02 ` [PATCH v1 1/2] bitops: Add missed file to MAINTAINERS Andy Shevchenko
  2025-11-06  8:02 ` [PATCH v1 2/2] bitops: Update kernel-doc in hweight.c to fix the issues with it Andy Shevchenko
@ 2025-11-06 16:52 ` Yury Norov
  2 siblings, 0 replies; 4+ messages in thread
From: Yury Norov @ 2025-11-06 16:52 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-kernel, Rasmus Villemoes, Andrew Morton

On Thu, Nov 06, 2025 at 09:02:49AM +0100, Andy Shevchenko wrote:
> Update MAINTAINERS and fix hweight.c to avoid kernel-doc warnings.
> 
> Andy Shevchenko (2):
>   bitops: Add missed file to MAINTAINERS
>   bitops: Update kernel-doc in hweight.c to fix the issues with it

Applied in bitmap-for-next.

Thanks,
Yury

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-06 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06  8:02 [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c Andy Shevchenko
2025-11-06  8:02 ` [PATCH v1 1/2] bitops: Add missed file to MAINTAINERS Andy Shevchenko
2025-11-06  8:02 ` [PATCH v1 2/2] bitops: Update kernel-doc in hweight.c to fix the issues with it Andy Shevchenko
2025-11-06 16:52 ` [PATCH v1 0/2] bitops: update MAINTAINERS and fix hweight.c Yury Norov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.