diff options
| author | Maxim Uvarov <[email protected]> | 2023-12-26 21:46:14 +0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-01-11 11:24:58 -0500 |
| commit | f3384d7fbbd9065798958553f52506a6c9e80d24 (patch) | |
| tree | 4b8d6e393bf0f584a8cd2fc4b67ffc1fe7ee43f3 | |
| parent | f5ead4c5fb14eedc788fc594af3b34a1fc7fb37e (diff) | |
sandbox: eth-raw-os: successful return code is 0
all network drivers return 0 on the successful
transmission.
Signed-off-by: Maxim Uvarov <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -rw-r--r-- | arch/sandbox/cpu/eth-raw-os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox/cpu/eth-raw-os.c index e59b96be5fb..92c35aed95d 100644 --- 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, |
