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

From: Yury
Date: Tue Mar 31 2015 - 23:01:22 EST


On 01.04.2015 02:06, Andrew Morton wrote:
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.
Hello Andrew,

Is it enough?

Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>

BR,
Yury Norov
--
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/