summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2023-09-19 13:06:50 +0800
committerKalle Valo <kvalo@kernel.org>2023-09-20 14:15:39 +0300
commit74f7957c9b1b95553faaf146a2553e023a9d1720 (patch)
tree17ca728275ac3a614f001b2f80095a3507121ef7 /tools/perf/scripts/python/stackcollapse.py
parent45aec443bbb00c4ecb97c0a1c71920fde6e91f19 (diff)
wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
Since debugfs_create_file() return ERR_PTR and never return NULL, so use IS_ERR() to check it instead of checking NULL. Fixes: e3037485c68e ("rtw88: new Realtek 802.11ac driver") Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230919050651.962694-1-ruanjinjie@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions