aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-04-23 19:15:22 +0300
committerJakub Kicinski <[email protected]>2024-04-25 08:20:54 -0700
commit4dcd0e83ea1d1df9b2e0174a6d3e795b3477d64e (patch)
treec5b9827995a996c98908967ee6fc8c9f5d1eeaac /tools/testing/selftests/bpf/progs/test_autoload.c
parent46bf0c9ab79426a0012158ef88ec8d7da0403b19 (diff)
net: ti: icssg-prueth: Fix signedness bug in prueth_init_rx_chns()
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 <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Reviewed-by: MD Danish Anwar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions