mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
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>
This commit is contained in:
committed by
Yury Norov (NVIDIA)
parent
0cb302c9c9
commit
6f15c3d715
@@ -4,8 +4,8 @@
|
|||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hweightN - returns the hamming weight of a N-bit word
|
* DOC: __sw_hweightN - returns the hamming weight of a N-bit word
|
||||||
* @x: the word to weigh
|
* @w: the word to weigh
|
||||||
*
|
*
|
||||||
* The Hamming Weight of a number is the total number of bits set in it.
|
* The Hamming Weight of a number is the total number of bits set in it.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user