From: Rafał Miłecki Date: Fri, 14 Nov 2014 17:43:28 +0000 (+0100) Subject: cfg80211: protect fools returning NULL in add_virtual_intf X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d687cbb703f50980e155c5642cf229ec2bb45e3e;p=pandora-kernel.git cfg80211: protect fools returning NULL in add_virtual_intf Callback add_virtual_intf is supposed to return ERR_PTR and trying to return NULL results in some "Unable to handle kernel paging request", etc. As it may be complicated to debug & trace, let's catch it (WARN). Signed-off-by: Rafał Miłecki Signed-off-by: Johannes Berg --- Reading git-diff-tree failed