aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorLi Qiong <[email protected]>2022-12-12 15:43:51 +0800
committerPablo Neira Ayuso <[email protected]>2022-12-13 12:23:18 +0100
commitba57ee0944ff0085652cf8df91f9c571883debe6 (patch)
tree8c90bebf8be206426d080a7688cd31f45f4d7383 /tools/perf/scripts/python/stat-cpi.py
parent5fb45f95eec682621748b7cb012c6a8f0f981e6a (diff)
ipvs: add a 'default' case in do_ip_vs_set_ctl()
It is better to return the default switch case with '-EINVAL', in case new commands are added. otherwise, return a uninitialized value of ret. Signed-off-by: Li Qiong <[email protected]> Reviewed-by: Simon Horman <[email protected]> Acked-by: Julian Anastasov <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions