Re: [PATCH v6 1/2] staging: axis-fifo: align fifo depth types with OF API
From: Greg KH
Date: Tue Feb 03 2026 - 03:20:06 EST
On Mon, Feb 02, 2026 at 11:20:46AM -0300, Gustavo Piaz da Silva wrote:
> Change has_rx_fifo and has_tx_fifo types from int to u32 in struct
> axis_fifo.
I can not parse this sentance, sorry.
> The of_property_read_u32() function expects a u32 pointer. While the
> current code might work, aligning the types avoids potential mixed-type
> issues and clarifies the data structure.
Please note that the current code does work, so to imply it doesn't
might not be the best thing.
thanks,
greg k-h