Skip to content
Commit a325f174 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net: ti: icssg-prueth: Fix signedness bug in prueth_init_tx_chns()



The "tx_chn->irq" variable is unsigned so the error checking does not
work correctly.

Fixes: 128d5874 ("net: ti: icssg-prueth: Add ICSSG ethernet driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarRoger Quadros <rogerq@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 37d4f555
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment