On Thu, Feb 01, 2024 at 01:22:09PM +0100, Alexander Lobakin wrote: > Commit dc34d5036692 ("lib: test_bitmap: add compile-time > optimization/evaluations assertions") initially missed __assign_bit(), > which led to that quite a time passed before I realized it doesn't get > optimized at compilation time. Now that it does, add test for that just > to make sure nothing will break one day. > To make things more interesting, use bitmap_complement() and > bitmap_full(), thus checking their compile-time evaluation as well. And > remove the misleading comment mentioning the workaround removed recently > in favor of adding the whole file to GCov exceptions. > > Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@xxxxxxxxx> > Signed-off-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>