[PATCH] spi: aspeed: Replace VLA parameter with flat pointer in calibration helper

Mark Brown broonie at kernel.org
Tue May 19 06:10:51 PDT 2026


On Tue, May 19, 2026 at 12:43:44PM +0000, Chin-Ting Kuo wrote:

> > This really needs () to make it clear what's going on; the precedence is well
> > defined but not everyone is going to know that off the top of their head.

> Okay, below change will be added in the next patch version.
> while (k < cols && buf[(i * cols) + k])

Sure, looks OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260519/0b586b5f/attachment.sig>


More information about the linux-arm-kernel mailing list