From e2e1b185afd86a047e1f2db405c61ae4e43c0f29 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 4 Jul 2013 22:49:14 +0200 Subject: [PATCH 14/17] bcma: return correct error code when bus can failed Signed-off-by: Hauke Mehrtens --- drivers/bcma/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c @@ -237,7 +237,7 @@ int bcma_bus_register(struct bcma_bus *b err = bcma_bus_scan(bus); if (err) { bcma_err(bus, "Failed to scan: %d\n", err); - return -1; + return err; } /* Early init CC core */ ref='/cgit.cgi/openwrt/upstream/'>openwrt/upstream
upstream openwrtJames
aboutsummaryrefslogtreecommitdiffstats
blob: 5468bdc71879df5c378a635e677695810a7f46a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96