lkml.org 
[lkml]   [2023]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 2/2] lib/test_bitmap: add tests for bitmap_{read,write}()
On Mon, Oct 23, 2023 at 12:23:27PM +0200, Alexander Potapenko wrote:
> Add basic tests ensuring that values can be added at arbitrary positions
> of the bitmap, including those spanning into the adjacent unsigned
> longs.

...

> + val = bitmap_read(bitmap, i, nbits);
> + (void)val;

Is it marked with __must_check? Otherwise why do we need this?

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2023-10-23 13:34    [W:1.314 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site