summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorWong Vee Khee <vee.khee.wong@linux.intel.com>2021-06-10 11:53:54 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-10 23:56:48 +0300
commit1f7096f0fdb2ac5ae6f1e290dfdd2fb7bbb074d3 (patch)
tree15d2b4ee2f88e63ccf747f6f5339b9042be00037 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentf18c11812c949553d2b2481ecaa274dd51bed1e7 (diff)
downloadlinux-1f7096f0fdb2ac5ae6f1e290dfdd2fb7bbb074d3.tar.xz
net: stmmac: Fix mixed enum type warning
The commit 5a5586112b92 ("net: stmmac: support FPE link partner hand-shaking procedure") introduced the following coverity warning: "Parse warning (PW.MIXED_ENUM_TYPE)" "1. mixed_enum_type: enumerated type mixed with another type" This is due to both "lo_state" and "lp_sate" which their datatype are enum stmmac_fpe_state type, and being assigned with "FPE_EVENT_UNKNOWN" which is a macro-defined of 0. Fixed this by assigned both these variables with the correct enum value. Fixes: 5a5586112b92 ("net: stmmac: support FPE link partner hand-shaking procedure") Signed-off-by: Wong Vee Khee <vee.khee.wong@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions