On Thu, Sep 29, 2016 at 07:11:39PM +0300, Michael Tokarev wrote:
>05.03.2016 16:47, Wei Yang wrote:
>>According to linux kernel commit <89c1e79eb30> ("linux/bitmap.h: improve
>>BITMAP_{LAST,FIRST}_WORD_MASK"), these two macro could be improved.
>>
>>This patch takes this change and also move them a
05.03.2016 16:47, Wei Yang wrote:
According to linux kernel commit <89c1e79eb30> ("linux/bitmap.h: improve
BITMAP_{LAST,FIRST}_WORD_MASK"), these two macro could be improved.
This patch takes this change and also move them all in header file.
Applied to -trivial, thank you!
/mjt
On 14/09/2016 09:33, Michael Tokarev wrote:
> Is this (quite old) patch still relevant?
Yes, I think it's a nice cleanup. The interesting bit is that it
expands nbits exactly once.
Paolo
> Thanks,
>
> /mjt
>
> 05.03.2016 16:47, Wei Yang wrote:
>> According to linux kernel commit <89c1e79eb3
Is this (quite old) patch still relevant?
Thanks,
/mjt
05.03.2016 16:47, Wei Yang wrote:
According to linux kernel commit <89c1e79eb30> ("linux/bitmap.h: improve
BITMAP_{LAST,FIRST}_WORD_MASK"), these two macro could be improved.
This patch takes this change and also move them all in header f
According to linux kernel commit <89c1e79eb30> ("linux/bitmap.h: improve
BITMAP_{LAST,FIRST}_WORD_MASK"), these two macro could be improved.
This patch takes this change and also move them all in header file.
Signed-off-by: Wei Yang
---
include/qemu/bitmap.h | 7 ++-
util/bitmap.c |