[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VdvOo1rStUrno1wNKi=O_Jj5MJ2q2V9QpMsAxsz1oOBEQ@mail.gmail.com>
Date: Wed, 28 Jul 2021 12:24:23 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: "Song Bao Hua (Barry Song)" <song.bao.hua@...ilicon.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Yury Norov <yury.norov@...il.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Dave Hansen <dave.hansen@...el.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Randy Dunlap <rdunlap@...radead.org>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Stefano Brivio <sbrivio@...hat.com>,
"Ma, Jianpeng" <jianpeng.ma@...el.com>,
Valentin Schneider <valentin.schneider@....com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
Guodong Xu <guodong.xu@...aro.org>,
tangchengchang <tangchengchang@...wei.com>,
"Zengtao (B)" <prime.zeng@...ilicon.com>,
yangyicong <yangyicong@...wei.com>,
"tim.c.chen@...ux.intel.com" <tim.c.chen@...ux.intel.com>,
Linuxarm <linuxarm@...wei.com>
Subject: Re: [PATCH v7 4/4] lib: test_bitmap: add bitmap_print_to_buf test cases
On Wed, Jul 28, 2021 at 12:08 PM Song Bao Hua (Barry Song)
<song.bao.hua@...ilicon.com> wrote:
> > From: Greg Kroah-Hartman [mailto:gregkh@...uxfoundation.org]
> > Sent: Friday, July 23, 2021 6:45 AM
...
> +static int vb_bits = sizeof(large_bitmap) * BITS_PER_BYTE;
> +DECLARE_BITMAP(vbmap, sizeof(large_bitmap) * BITS_PER_BYTE);
Just side note: we have BITS_PER_TYPE() macro :-)
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists