[PATCH net] net: ti: icssg-prueth: Fix signedness bug in prueth_init_rx_chns()

MD Danish Anwar danishanwar at ti.com
Wed Apr 24 01:28:00 PDT 2024



On 23/04/24 9:45 pm, Dan Carpenter wrote:
> The rx_chn->irq[] array is unsigned int but it should be signed for the
> error handling to work.  Also if k3_udma_glue_rx_get_irq() returns zero
> then we should return -ENXIO instead of success.
> 
> Fixes: 128d5874c082 ("net: ti: icssg-prueth: Add ICSSG ethernet driver")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Reviewed-by: MD Danish Anwar <danishanwar at ti.com>

-- 
Thanks and Regards,
Danish



More information about the linux-arm-kernel mailing list