projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ead4c
)
sandbox: eth-raw-os: successful return code is 0
author
Maxim Uvarov
<maxim.uvarov@linaro.org>
Tue, 26 Dec 2023 15:46:14 +0000
(21:46 +0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 11 Jan 2024 16:24:58 +0000
(11:24 -0500)
all network drivers return 0 on the successful
transmission.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/eth-raw-os.c
patch
|
blob
|
history
diff --git
a/arch/sandbox/cpu/eth-raw-os.c
b/arch/sandbox/cpu/eth-raw-os.c
index e59b96be5fb8b298f978d04b3bb96122ec7da11a..92c35aed95dd984e4581ab93c685e31e050b9bb7 100644
(file)
--- a/
arch/sandbox/cpu/eth-raw-os.c
+++ b/
arch/sandbox/cpu/eth-raw-os.c
@@
-256,7
+256,7
@@
int sandbox_eth_raw_os_send(void *packet, int length,
strerror(errno));
return -errno;
}
- return
retval
;
+ return
0
;
}
int sandbox_eth_raw_os_recv(void *packet, int *length,