aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorZhang Shurong <[email protected]>2023-04-27 01:02:21 +0800
committerKalle Valo <[email protected]>2023-05-05 10:38:08 +0300
commit77005533777267736fca64fa376b8a835cb8806b (patch)
treecc4f3c6c8076c2c741be7bde96ab12c556255320 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent225622256b1b7156624e281e1c0251c292ea24cd (diff)
wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_*
If there is a failure during copy_from_user or user-provided data buffer is invalid, rtw_debugfs_set_* should return negative error code instead of a positive value count. Fix this bug by returning correct error code. Signed-off-by: Zhang Shurong <[email protected]> Reviewed-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions