diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-08-14 14:50:01 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-08-14 14:00:12 +0200 |
commit | cb35fba360dfc3496e5d8a47e23ec5ccdfd90925 (patch) | |
tree | 1298bda5a5f8d7225632d27f82c624d5c3883d33 /ipc/sem.c | |
parent | ddfe49b42d8ad4bfdf92d63d4a74f162660d878d (diff) | |
download | op-kernel-dev-cb35fba360dfc3496e5d8a47e23ec5ccdfd90925.zip op-kernel-dev-cb35fba360dfc3496e5d8a47e23ec5ccdfd90925.tar.gz |
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 <dan.carpenter@oracle.com>
[some whitespace changes]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions