Repository navigation
Commit cb35fba
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>1 parent ddfe49b commit cb35fba
1 file changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2622 | 2622 | | |
2623 | 2623 | | |
2624 | 2624 | | |
2625 | | - | |
2626 | | - | |
| 2625 | + | |
| 2626 | + | |
2627 | 2627 | | |
2628 | 2628 | | |
2629 | 2629 | | |
| |||
6507 | 6507 | | |
6508 | 6508 | | |
6509 | 6509 | | |
| 6510 | + | |
| 6511 | + | |
| 6512 | + | |
6510 | 6513 | | |
6511 | 6514 | | |
6512 | 6515 | | |
| |||
6951 | 6954 | | |
6952 | 6955 | | |
6953 | 6956 | | |
6954 | | - | |
6955 | | - | |
6956 | | - | |
| 6957 | + | |
| 6958 | + | |
6957 | 6959 | | |
6958 | 6960 | | |
6959 | 6961 | | |
| |||
7251 | 7253 | | |
7252 | 7254 | | |
7253 | 7255 | | |
7254 | | - | |
7255 | | - | |
7256 | | - | |
| 7256 | + | |
| 7257 | + | |
7257 | 7258 | | |
7258 | 7259 | | |
7259 | 7260 | | |
| |||
8132 | 8133 | | |
8133 | 8134 | | |
8134 | 8135 | | |
8135 | | - | |
8136 | | - | |
8137 | | - | |
| 8136 | + | |
| 8137 | + | |
8138 | 8138 | | |
8139 | 8139 | | |
8140 | 8140 | | |
| |||
0 commit comments