diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-01-18 07:29:52 +0000 |
|---|---|---|
| committer | Alistair Strachan <astrachan@google.com> | 2019-02-09 01:25:27 +0000 |
| commit | 363f6f40b1e2b7a8a1dec96bcd6088c7c6dd37d0 (patch) | |
| tree | 21453ded73bfd7921e4fa8872cce1138e3952cba /kernel/locking/mutex-debug.c | |
| parent | 983e064bcbe0da3b5df688dca6baf417773cee39 (diff) | |
UPSTREAM: virt_wifi: fix error return code in virt_wifi_newlink()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: c7cdba31ed8b ("mac80211-next: rtnetlink wifi simulation device")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
(cherry picked from commit f9d672f1c2ca36b788511bbd773d650c744e109a)
Change-Id: Ia6290ab996afca7b33e1a8e9b8bcfc0ecbe252f4
Signed-off-by: Cody Schuffelen <schuffelen@google.com>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
