mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
net: lan966x: improve error handle in lan966x_fdma_rx_get_frame()
[ Upstream commit13a9d08c29] Don't just print a warning. Clean up and return an error as well. Fixes:c834963932("net: lan966x: Add FDMA functionality") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Link: https://lore.kernel.org/r/YwjgDm/SVd5c1tQU@kili Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
81b7493d74
commit
8164b6c32f
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue