Commit 6097976
net: 3com: typhoon: typhoon_init_one: make return values more specific
[ Upstream commit 6b6bbb5922a4b1d4b58125a572da91010295fba3 ]
In some cases the return value of a failing function is not being used
and the function typhoon_init_one() returns another negative error code
instead.
Signed-off-by: Thomas Preisner <thomas.preisner+linux@fau.de>
Signed-off-by: Milan Stephan <milan.stephan+linux@fau.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent d7c3d53 commit 6097976
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2366 | 2366 | | |
2367 | 2367 | | |
2368 | 2368 | | |
2369 | | - | |
| 2369 | + | |
| 2370 | + | |
2370 | 2371 | | |
2371 | | - | |
2372 | 2372 | | |
2373 | 2373 | | |
2374 | 2374 | | |
| |||
2382 | 2382 | | |
2383 | 2383 | | |
2384 | 2384 | | |
2385 | | - | |
| 2385 | + | |
| 2386 | + | |
2386 | 2387 | | |
2387 | | - | |
2388 | 2388 | | |
2389 | 2389 | | |
2390 | 2390 | | |
2391 | 2391 | | |
2392 | | - | |
| 2392 | + | |
| 2393 | + | |
2393 | 2394 | | |
2394 | | - | |
2395 | 2395 | | |
2396 | 2396 | | |
2397 | 2397 | | |
| |||
2424 | 2424 | | |
2425 | 2425 | | |
2426 | 2426 | | |
2427 | | - | |
| 2427 | + | |
| 2428 | + | |
2428 | 2429 | | |
2429 | | - | |
2430 | 2430 | | |
2431 | 2431 | | |
2432 | 2432 | | |
| |||
0 commit comments