2024-03-04 16:56:54

by Andy Shevchenko

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

This is an exctract of the two patches from
https://lore.kernel.org/r/[email protected]

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(-)

--
2.43.0.rc1.1.gbec44491f096



2024-03-09 18:38:59

by Jonathan Cameron

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

On Mon, 4 Mar 2024 16:04:31 +0200
Andy Shevchenko <[email protected]> wrote:

> This is an exctract of the two patches from
> https://lore.kernel.org/r/[email protected]
>
> 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