On 12/02/2024 08.56, Herve Codina wrote: > The bitmap_onto() function translates one bitmap relative to another but > no function are present to perform the reverse translation. > > Introduce bitmap_off() to fill this hole. > > Signed-off-by: Herve Codina <herve.cod...@bootlin.com> > --- > include/linux/bitmap.h | 3 +++ > lib/bitmap.c | 42 ++++++++++++++++++++++++++++++++++++++++++
This patch, or the next in the series, should include a diffstat mentioning lib/test_bitmap.c. And please make sure that the tests exercise both expected use as well as corner cases, so that the actual expected behavior is documented in code and not just in prose (which may be ambiguous), and so that behavior-changing refactorings will not go unnoticed. Rasmus