Re: [PATCH v1 0/2] iio: core: Fix and cleanup to iio_device_alloc()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon,  4 Mar 2024 16:04:31 +0200
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> This is an exctract of the two patches from 
> https://lore.kernel.org/r/20240228204919.3680786-1-andriy.shevchenko@xxxxxxxxxxxxxxx
> 
> In v1 (extract):
> - removed unneeded 'else' branch (David)
> - fixed typo in allocation cleanup (David)
> 
> Andy Shevchenko (2):
>   iio: core: Leave private pointer NULL when no private data supplied
>   iio: core: Calculate alloc_size only once in iio_device_alloc()
> 
>  drivers/iio/industrialio-core.c | 15 ++++++++-------
>  1 file changed, 8 insertions(+), 7 deletions(-)
> 

Applied to the togreg-normal branch of iio.git which I'll rebase on rc1
once available and push out as togreg.

Thanks,

Jonathan




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux