diff options
author | John Kacur <[email protected]> | 2022-11-07 09:43:13 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-12-09 18:06:24 -0500 |
commit | 4c6874374859d89aa6a75019bb0a913369e472c9 (patch) | |
tree | 8bb0484e1389270ffc79792e9d4ec740f9c96c0a /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | 76dcd734eca23168cb008912c0f69ff408905235 (diff) |
rtla: Fix exit status when returning from calls to usage()
rtla_usage(), osnoise_usage() and timerlat_usage() all exit with an
error status.
However when these are called from help, they should exit with a
non-error status.
Fix this by passing the exit status to the functions.
Note, although we remove the subsequent call to exit after calling
usage, we leave it in at the end of a function to suppress the compiler
warning "control reaches end of a non-void function".
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: John Kacur <[email protected]>
Acked-by: Daniel Bristot de Oliveira <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions