Re: [PATCH v3 06/11] iio: core: merge buffer/ & scan_elements/ attributes

2021-02-05 Thread Andy Shevchenko
On Thu, Feb 4, 2021 at 3:41 PM Alexandru Ardelean wrote: > On Wed, Feb 3, 2021 at 12:04 PM Andy Shevchenko > wrote: > > On Mon, Feb 1, 2021 at 5:28 PM Alexandru Ardelean > > wrote: ... > > > + group->attrs = kcalloc(buffer_attrcount + 1, > > > + sizeof(struct

Re: [PATCH v3 06/11] iio: core: merge buffer/ & scan_elements/ attributes

2021-02-04 Thread Alexandru Ardelean
On Wed, Feb 3, 2021 at 12:04 PM Andy Shevchenko wrote: > > On Mon, Feb 1, 2021 at 5:28 PM Alexandru Ardelean > wrote: > > > > With this change, we create a new directory for the IIO device called > > buffer0, under which both the old buffer/ and scan_elements/ are stored. > > > > This is done to

Re: [PATCH v3 06/11] iio: core: merge buffer/ & scan_elements/ attributes

2021-02-03 Thread Andy Shevchenko
On Mon, Feb 1, 2021 at 5:28 PM Alexandru Ardelean wrote: > > With this change, we create a new directory for the IIO device called > buffer0, under which both the old buffer/ and scan_elements/ are stored. > > This is done to simplify the addition of multiple IIO buffers per IIO > device. Otherwis

Re: [PATCH v3 06/11] iio: core: merge buffer/ & scan_elements/ attributes

2021-02-01 Thread Dan Carpenter
Hi Alexandru, url: https://github.com/0day-ci/linux/commits/Alexandru-Ardelean/iio-core-buffer-add-support-for-multiple-IIO-buffers-per-IIO-device/20210201-233550 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: arc-randconfig-m031-20210201 (attached as .con

Re: [PATCH v3 06/11] iio: core: merge buffer/ & scan_elements/ attributes

2021-02-01 Thread kernel test robot
Hi Alexandru, I love your patch! Perhaps something to improve: [auto build test WARNING on iio/togreg] [also build test WARNING on linux/master next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documente

[PATCH v3 06/11] iio: core: merge buffer/ & scan_elements/ attributes

2021-02-01 Thread Alexandru Ardelean
With this change, we create a new directory for the IIO device called buffer0, under which both the old buffer/ and scan_elements/ are stored. This is done to simplify the addition of multiple IIO buffers per IIO device. Otherwise we would need to add a bufferX/ and scan_elementsX/ directory for e