[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VfMUVrtRD3t5QP=TjUcF96GPS71+_33_DR9n5pDw1tHMQ@mail.gmail.com>
Date: Thu, 14 Jun 2018 15:03:00 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Yury Norov <ynorov@...iumnetworks.com>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1] bitmap: Drop unnecessary 0 check for u32 array operations
On Thu, May 31, 2018 at 5:47 PM, Yury Norov <ynorov@...iumnetworks.com> wrote:
> On Thu, May 31, 2018 at 04:19:14PM +0300, Andy Shevchenko wrote:
>> The nbits == 0 is safe to be supplied to the function body, so,
>> remove unnecessary checks in bitmap_to_arr32() and bitmap_from_arr32().
>> +void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf, unsigned int nbits)
>
> This line is 81 characters length, and it will trigger checkpatch warning.
> (But I'm OK with it.)
I really don't care about ) at the end potentially not visible on the
screen (who is using nice old hardware terminals? :-) ).
> Acked-by: Yury Norov <ynorov@...iumnetworks.com>
Thanks.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists