Searched hist:"43 a06b346d1350009c8f7eaa1a2a137395874ca0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.c | diff 43a06b346d1350009c8f7eaa1a2a137395874ca0 Fri Sep 21 04:38:53 CDT 2012 Raja Mani <rmani@qca.qualcomm.com> 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>
|