Re: [PATCH 1/1] block: Use bits.h macros to improve readability

2019-08-08 Thread Leonardo Bras
On Fri, 2019-08-02 at 21:18 -0700, Jens Axboe wrote: > On 8/1/19 6:00 PM, Leonardo Bras wrote: > > Applies some bits.h macros in order to improve readability of > > linux/blk_types.h. > > > > Signed-off-by: Leonardo Bras > > --- > > include/linux/blk_types.h | 55 ---

Re: [PATCH 1/1] block: Use bits.h macros to improve readability

2019-08-04 Thread Jens Axboe
On 8/4/19 1:17 PM, Joe Perches wrote: > On Fri, 2019-08-02 at 21:18 -0700, Jens Axboe wrote: >> On 8/1/19 6:00 PM, Leonardo Bras wrote: >>> Applies some bits.h macros in order to improve readability of >>> linux/blk_types.h. > [] >> I know precisely what that does, whereas I have to think about the

Re: [PATCH 1/1] block: Use bits.h macros to improve readability

2019-08-04 Thread Joe Perches
On Fri, 2019-08-02 at 21:18 -0700, Jens Axboe wrote: > On 8/1/19 6:00 PM, Leonardo Bras wrote: > > Applies some bits.h macros in order to improve readability of > > linux/blk_types.h. [] > I know precisely what that does, whereas I have to think about the other > one, maybe even look it up to be su

Re: [PATCH 1/1] block: Use bits.h macros to improve readability

2019-08-02 Thread Jens Axboe
On 8/1/19 6:00 PM, Leonardo Bras wrote: > Applies some bits.h macros in order to improve readability of > linux/blk_types.h. > > Signed-off-by: Leonardo Bras > --- > include/linux/blk_types.h | 55 --- > 1 file changed, 28 insertions(+), 27 deletions(-) > >

[PATCH 1/1] block: Use bits.h macros to improve readability

2019-08-01 Thread Leonardo Bras
Applies some bits.h macros in order to improve readability of linux/blk_types.h. Signed-off-by: Leonardo Bras --- include/linux/blk_types.h | 55 --- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/include/linux/blk_types.h b/include/linux/blk_