Re: [PATCH 5/8] lib: bitmap: pair nbits value with region struct

2021-02-10 Thread Andy Shevchenko
On Tue, Feb 09, 2021 at 05:59:04PM -0500, Paul Gortmaker wrote: > A region is a standalone entity to some degree, but it needs to > be paired with a bitmap width in order to set context and determine > if the region even fits into the width of the bitmap. > > This will reduce parameter passing

[PATCH 5/8] lib: bitmap: pair nbits value with region struct

2021-02-09 Thread Paul Gortmaker
A region is a standalone entity to some degree, but it needs to be paired with a bitmap width in order to set context and determine if the region even fits into the width of the bitmap. This will reduce parameter passing and enable using nbits as part of future dynamic region parameter parsing.