aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTianjia Zhang <[email protected]>2020-08-02 19:15:44 +0800
committerDavid S. Miller <[email protected]>2020-08-03 15:57:31 -0700
commitaa027850a292ea65524b8fab83eb91a124ad362c (patch)
tree82efb69e2208bc44cd7745f34d01fcf9da787feb /tools/perf/util/scripting-engines/trace-event-python.c
parentbace287c55aa7b66b217701d290801ed810702b1 (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