Re: [PATCH v2] lib: bitmap_[empty,full]: remove code duplication

From: Andrew Morton
Date: Tue Mar 31 2015 - 19:06:43 EST


On Sun, 29 Mar 2015 05:03:55 +0300 Yury Norov <yury.norov@xxxxxxxxx> wrote:

> Function 'bitmap_empty' has it's own implementation.
> But it's clearly as simple as:
> "find_first_bit(src, nbits) == nbits"
> The same is true for 'bitmap_full'.

Looks OK.

Please send a Signed-off-by: for this patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/