diff options
| author | 2013-05-17 16:43:15 +0800 | |
|---|---|---|
| committer | 2013-05-17 15:05:07 -0700 | |
| commit | 49c144c8630573c5cf3534842ff30ce7232d9487 (patch) | |
| tree | 9fa4313bef2a0f18369d039027b66b7c0f909adf /scripts/patch-kernel | |
| parent | staging: vt6655: Use alloc_etherdev() for kzalloc (diff) | |
staging: wlags49_h2: fix error return code in wl_adapter_insert()
When return from wl_adapter_insert() in the register_netdev() error
handling case, 'ret' which is 0 is returned, but we should return a
negative error code instead, so fix to return the return value of
register_netdev().
Introduce by commit 657d4c86d4cd85a4696445f6fb2fe0941a5724ff
(staging: wlags49_h2: fix error handling in pcmcia probe function)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
