]> Git Repo - linux.git/commit
net: ethernet: ti: am65-cpsw: Fix forever loop in cleanup code
authorDan Carpenter <[email protected]>
Sat, 28 Sep 2024 10:04:01 +0000 (13:04 +0300)
committerJakub Kicinski <[email protected]>
Thu, 3 Oct 2024 00:25:32 +0000 (17:25 -0700)
commit3c97fe4f9fbc2bbc555b51268a9556e61cd3ca4e
treead0cf1c7fc56fae0c8bf766a0c35ecbd2cdb3dfa
parentc283782fc5d60c4d8169137c6f955aa3553d3b3d
net: ethernet: ti: am65-cpsw: Fix forever loop in cleanup code

This error handling has a typo.  It should i++ instead of i--.  In the
original code the error handling will loop until it crashes.

Fixes: da70d184a8c3 ("net: ethernet: ti: am65-cpsw: Introduce multi queue Rx")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Alexander Sverdlin <[email protected]>
Reviewed-by: Roger Quadros <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/ti/am65-cpsw-nuss.c
This page took 0.054165 seconds and 4 git commands to generate.