Messages in this thread | | | Date | Mon, 27 Mar 2023 13:26:21 +0300 | From | Andy Shevchenko <> | Subject | Re: [PATCH 1/8] lib/find: add find_next_and_andnot_bit() |
| |
On Sat, Mar 25, 2023 at 11:55:07AM -0700, Yury Norov wrote: > Similarly to find_nth_and_andnot_bit(), find_next_and_andnot_bit() is > a convenient helper that allows traversing bitmaps without storing > intermediate results in a temporary bitmap. > > In the following patches the function is used to implement NUMA-aware > CPUs enumeration.
...
> +/** > + * find_next_and_andnot_bit - find the next bit set in *addr1 and *addr2, > + * excluding all the bits in *addr3 > + * @addr1: The first address to base the search on > + * @addr2: The second address to base the search on > + * @addr3: The third address to base the search on > + * @size: The bitmap size in bits > + * @offset: The bitnumber to start searching at
> + * Returns the bit number for the next set bit > + * If no bits are set, returns @size.
`kernel-doc -v` nowadays complains about absence of the Return: section. Can we start providing it in the expected format?
Ditto for other documentation excerpts (old and new).
> + */
-- With Best Regards, Andy Shevchenko
| |