Hi, On Tue, May 28, 2019 at 06:32:56PM +0200, Marco Elver wrote: > +static noinline void __init kasan_bitops(void) > +{ > + long bits = 0; > + const long bit = sizeof(bits) * 8; You can use BITS_PER_LONG here. Thanks, Mark.
Hi, On Tue, May 28, 2019 at 06:32:56PM +0200, Marco Elver wrote: > +static noinline void __init kasan_bitops(void) > +{ > + long bits = 0; > + const long bit = sizeof(bits) * 8; You can use BITS_PER_LONG here. Thanks, Mark.