Re: [PATCH] siox: use kzalloc_flex

From: Marc Kleine-Budde

Date: Fri Mar 27 2026 - 02:53:29 EST


On 26.03.2026 12:17:34, Rosen Penev wrote:
> > NACK - What's you motivation to do this?

> > The "size" extra space is not used for master->buf, but for
> > dev->driver_data. master->buf is allocated in siox_device_add().

> I assume this means a new struct member should be added and
^^^^^^
> kzalloc_flex modified to work on that.

I suggest you look at the code, try to understand what it currently
does, then re-think what your proposed changed do, what problem your
changes fix.

regards,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |

Attachment: signature.asc
Description: PGP signature