summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMaksim Kiselev <[email protected]>2023-07-19 09:53:37 +0300
committerMichal Simek <[email protected]>2023-07-21 09:00:39 +0200
commit3fb4ef7d39abbb2f8f6cd349e4af11082bf8c8c4 (patch)
tree1a94afbad451991e30bca59ef950eedf3d28844e /scripts
parentc310c98201925e525d86b1d78447ee985cc37848 (diff)
net: axi_emac: Change return value to -EAGAIN if RX is not ready
If there is no incoming package than axiemac_recv will return -1 which in turn leads to printing `eth_rx: recv() returned error -1` error message in eth_rx function. But missing a package is not an fatal error, so return -EAGAIN in that case would be more suitable. Signed-off-by: Maksim Kiselev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions