Skip to content
Commit 13a9d08c authored by Dan Carpenter's avatar Dan Carpenter Committed by Jakub Kicinski
Browse files

net: lan966x: improve error handle in lan966x_fdma_rx_get_frame()

Don't just print a warning.  Clean up and return an error as well.

Fixes: c8349639

 ("net: lan966x: Add FDMA functionality")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarHoratiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/YwjgDm/SVd5c1tQU@kili
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 642b2122
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment