diff options
author | 2012-09-21 15:08:53 +0530 | |
---|---|---|
committer | 2012-10-24 11:49:50 +0300 | |
commit | 43a06b346d1350009c8f7eaa1a2a137395874ca0 (patch) | |
tree | 07e917a46e113a7ed30dd4f7d9f239b364d0d113 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ath6kl: Fix reconnection issue after recovery (diff) | |
download | linux-dev-43a06b346d1350009c8f7eaa1a2a137395874ca0.tar.xz linux-dev-43a06b346d1350009c8f7eaa1a2a137395874ca0.zip |
ath6kl: Avoid null ptr dereference while printing reg domain pair
Return value of ath6kl_get_regpair() is stored in 'regpair' in
ath6kl_wmi_regdomain_event() func and it's directly accessed
in the debug prints without checking for NULL value. There are
situation to get NULL pointer as a return value from
ath6kl_get_regpair() func. Fix this.
Found this on code review.
Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions