diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2025-03-14 09:44:10 +0100 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-03-31 09:46:25 +0200 |
commit | 42df30a210c07c020b96a1d13d066125bd5f0ffd (patch) | |
tree | 1a3ddbc841cda855822e46f0cb2b2d21ab02b997 /drivers/usb/cdns3/core.c | |
parent | 6d66a72a0acbbdcaed89bcbfabdbd86db37e49ac (diff) |
net: lwip: do_ping() should return CMD_RET_FAILURE when no device
do_ping() expects ping_loop() to return a negative value on error, so
that it can propagate it to the caller as CMD_RET_FAILURE. This is not
the case when no ethernet device is found, so fix that.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions