From: Raja Mani Date: Fri, 21 Sep 2012 09:38:53 +0000 (+0530) Subject: ath6kl: Avoid null ptr dereference while printing reg domain pair X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~174^2^2~81^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43a06b346d1350009c8f7eaa1a2a137395874ca0;p=pandora-kernel.git 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed