From: Johannes Berg Date: Tue, 19 Mar 2013 19:26:57 +0000 (+0100) Subject: cfg80211: fix wdev tracing crash X-Git-Tag: v3.9-rc6~38^2~18^2^2~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce1eadda6badef9e4e3460097ede674fca47383d;p=pandora-kernel.git cfg80211: fix wdev tracing crash Arend reported a crash in tracing if the driver returns an ERR_PTR() value from the add_virtual_intf() callback. This is due to the tracing then still attempting to dereference the "pointer", fix this by using IS_ERR_OR_NULL(). Reported-by: Arend van Spriel Tested-by: Arend van Spriel Signed-off-by: Johannes Berg --- Reading git-diff-tree failed