aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorGuojia Liao <[email protected]>2019-08-16 16:09:39 +0800
committerDavid S. Miller <[email protected]>2019-08-18 12:59:12 -0700
commit37417c6625cae97762d7095863b0cf5a127f1c4e (patch)
tree9b489704686f7b488d9261ccb21ba696ef664263 /tools/perf/scripts/python/netdev-times.py
parentcdd332accd4a93ac17d86024d52971d387b9a042 (diff)
net: hns3: fix error and incorrect format
The pointer type parameter should be declare as const for preventing from its pointed value being unexpected modified. The uninitialized variable can not be return directly. The default return value is 0 if no abnormal result. This patch fixes the preceding two errors, deletes redundant declaration of a function and align one parameter. Signed-off-by: Guojia Liao <[email protected]> Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions