aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhang Shurong <[email protected]>2023-07-15 21:42:57 +0800
committerKalle Valo <[email protected]>2023-07-25 17:44:18 +0300
commit59b4cc439f184c5eaa34161ec67af1e16ffabed4 (patch)
tree5510b09f73bad37597bf5ff370494dd8cffdb091 /tools/perf/scripts/python/stackcollapse.py
parent8986f0a9a3bb26bdaf17d5a1c8fadcc4c3edeae8 (diff)
wifi: rtw89: debug: Fix error handling in rtw89_debug_priv_btc_manual_set()
If there is a failure during kstrtobool_from_user() rtw89_debug_priv_btc_manual_set should return a negative error code instead of returning the count directly. Fix this bug by returning an error code instead of a count after a failed call of the function "kstrtobool_from_user". Moreover I omitted the label "out" with this source code correction. Fixes: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver") Signed-off-by: Zhang Shurong <[email protected]> Acked-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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions