From: Dan Carpenter Date: Wed, 14 Aug 2013 11:50:01 +0000 (+0300) Subject: nl80211: nl80211hdr_put() doesn't return an ERR_PTR X-Git-Tag: v3.11-rc7~11^2~8^2^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb35fba360dfc3496e5d8a47e23ec5ccdfd90925;p=pandora-kernel.git nl80211: nl80211hdr_put() doesn't return an ERR_PTR There are a few places which check nl80211hdr_put() for an ERR_PTR but actually it returns NULL on error and never error values. In nl80211_testmode_dump() the return wasn't checked at all so I have added one. Signed-off-by: Dan Carpenter [some whitespace changes] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed