Re: [PATCH] spi: amd: fix len==0 underflow and FIFO overflow
From: M, Krishnamoorthi
Date: Fri Oct 16 2026 - 08:18:40 EST
Hi Mark,
On 10/16/2026 3:55 AM, Mark Brown wrote:
On Wed, 14 Oct 2026 20:39:13 +0800, Weibin Liu wrote:
spi: amd: fix len==0 underflow and FIFO overflow
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-7.4
Thanks!
I sent review comments in parallel without seeing the apply mail - they're not a blocker, just a minor improvement.
The applied change is already memory-safe; the rx FIFO bound is just checked after amd_spi_execute_opcode(), so an oversized message drives one transaction before being rejected. Since the patch is applied, the change can be taken in a follow-up patch.
Thanks,
Krishna