diff options
author | 2023-07-13 11:03:44 +0800 | |
---|---|---|
committer | 2023-08-25 10:35:21 +0300 | |
commit | 1e4134610d93271535ecf900a676e1f094e9944c (patch) | |
tree | 3ea25556c97d3c191290b0161dcecde696a4c7b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: ath12k: Fix memory leak in rx_desc and tx_desc (diff) | |
download | wireguard-linux-1e4134610d93271535ecf900a676e1f094e9944c.tar.xz wireguard-linux-1e4134610d93271535ecf900a676e1f094e9944c.zip |
wifi: ath9k: use IS_ERR() with debugfs_create_dir()
The debugfs_create_dir() function returns error pointers,
it never returns NULL. Most incorrect error checks were fixed,
but the one in ath9k_htc_init_debug() was forgotten.
Fix the remaining error check.
Fixes: e5facc75fa91 ("ath9k_htc: Cleanup HTC debugfs")
Signed-off-by: Wang Ming <machel@vivo.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230713030358.12379-1-machel@vivo.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions