]> Gentwo Git Trees - linux/.git/commit
bitops: Update kernel-doc in hweight.c to fix the issues with it
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Nov 2025 08:02:51 +0000 (09:02 +0100)
committerYury Norov (NVIDIA) <yury.norov@gmail.com>
Thu, 6 Nov 2025 16:51:04 +0000 (11:51 -0500)
commit6f15c3d715f1bf1025f88890eec7f3da210097a9
treed31af64f068ac9df149aaed5582c517f345a1d72
parent0cb302c9c9b702efe09398c8a591beffe083b742
bitops: Update kernel-doc in hweight.c to fix the issues with it

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>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
lib/hweight.c