diff options
author | Tianjia Zhang <[email protected]> | 2020-08-02 19:15:44 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-03 15:57:31 -0700 |
commit | aa027850a292ea65524b8fab83eb91a124ad362c (patch) | |
tree | 82efb69e2208bc44cd7745f34d01fcf9da787feb /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bace287c55aa7b66b217701d290801ed810702b1 (diff) |
liquidio: Fix wrong return value in cn23xx_get_pf_num()
On an error exit path, a negative error code should be returned
instead of a positive return value.
Fixes: 0c45d7fe12c7e ("liquidio: fix use of pf in pass-through mode in a virtual machine")
Cc: Rick Farrington <[email protected]>
Signed-off-by: Tianjia Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions