From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Date: Sat, 24 Sep 2016 16:36:30 +0000 Subject: Re: [PATCH 1/7] iio: Use kmalloc_array() in iio_scan_mask_set() Message-Id: <82e19d9b-ecbd-6252-a6fe-f96afadc3be4@kernel.org> List-Id: References: <566ABCD9.1060404@users.sourceforge.net> <7d1ed0ab-f3ce-3112-a004-1540c54638fd@kernel.org> <6d97d9b3-27f5-bd9b-93d1-65bd65959d74@users.sourceforge.net> In-Reply-To: <6d97d9b3-27f5-bd9b-93d1-65bd65959d74@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: linux-iio@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , LKML , kernel-janitors@vger.kernel.org, Julia Lawall On 24/09/16 17:18, SF Markus Elfring wrote: >> Applied to the togreg branch of iio.git - initially pushed out >> as testing for the autobuilders to play with it. > > Thanks for your positive response. > > > Do you see any need to improve the software situation around > the macro "BITS_TO_LONGS" further? > > Do you fiddle with a programming interface like "bitmap_alloc" occasionally? It might be clearer than having an array allocation as we do after this patch. Obviously the representation is an array, but it is a little ugly as it stands! > > Regards, > Markus > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >