[PATCH 2/7] bitops: more BITS_TO_* macros

2019-09-08 Thread Yury Norov
Introduce BITS_TO_U64, BITS_TO_U32 and BITS_TO_BYTES as they are handy in the following patches (BITS_TO_U32 specifically). Reimplement tools/ version of the macros according to the kernel implementation. Also fix indentation for BITS_PER_TYPE definition. Reviewed-by: Andy Shevchenko

[PATCH 2/7] bitops: more BITS_TO_* macros

2019-07-21 Thread Yury Norov
>From Yury Norov Introduce BITS_TO_U64, BITS_TO_U32 and BITS_TO_BYTES as they are handy in the following patches (BITS_TO_U32 specifically). Reimplement tools/ version of the macros according to the kernel implementation. Also fix indentation for BITS_PER_TYPE definition. Reviewed-by: Andy

Re: [PATCH 2/7] bitops: more BITS_TO_* macros

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:31PM -0700, Yury Norov wrote: > Introduce BITS_TO_U64, BITS_TO_U32 and BITS_TO_BYTES as they are handy > in the following patches (BITS_TO_U32 specifically). Reimplement tools/ > version of the macros according to the kernel implementation. > > Also fix indentation

[PATCH 2/7] bitops: more BITS_TO_* macros

2019-04-30 Thread Yury Norov
Introduce BITS_TO_U64, BITS_TO_U32 and BITS_TO_BYTES as they are handy in the following patches (BITS_TO_U32 specifically). Reimplement tools/ version of the macros according to the kernel implementation. Also fix indentation for BITS_PER_TYPE definition. Signed-off-by: Yury Norov ---