Re: [PATCH v4 13/17] iio: buffer: add ioctl() to support opening extra buffers for IIO device

2021-02-10 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 linus/master v5.11-rc7 next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to

[PATCH v4 13/17] iio: buffer: add ioctl() to support opening extra buffers for IIO device

2021-02-10 Thread Alexandru Ardelean
With this change, an ioctl() call is added to open a character device for a buffer. The ioctl() number is 'i' 0x91, which follows the IIO_GET_EVENT_FD_IOCTL ioctl. The ioctl() will return an FD for the requested buffer index. The indexes are the same from the /sys/iio/devices/iio:deviceX/bufferY