Re: [PATCH] staging: axis-fifo: fix integer underflow in tx_fifo_depth

From: Dan Carpenter

Date: Wed Sep 23 2026 - 02:47:01 EST


On Tue, Sep 22, 2026 at 11:58:48PM +0200, Vladan Kalaba wrote:
> Fix integer underflow if tx_fifo_depth < 4 in axis-fifo.c due
> to check in axis_fifo_write() subtracting 4.
>
> Fixes: 52ff2b840bc7 ("staging: axis-fifo: fix maximum TX packet length check")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Vladan Kalaba <vladan.kalaba@xxxxxxxxx>
> ---

This has been sent a number of times before. The information comes
from device tree and we trust the device tree.

regards,
dan carpenter