From b1558f168f4ef5956913d73fe330c4da85c74349 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Sat, 12 Dec 2015 15:43:46 +0300 Subject: [PATCH] clk: sunxi: signedness bug in sun8i_h3_bus_gates_init() "index" needs to be signed for the error handling to work. Fixes: ab6e23a4e388 ('clk: sunxi: Add H3 clocks support') Signed-off-by: Dan Carpenter Signed-off-by: Maxime Ripard --- drivers/clk/sunxi/clk-sun8i-bus-gates.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/clk/sunxi/clk-sun8i-bus-gates.c +++ b/drivers/clk/sunxi/clk-sun8i-bus-gates.c @@ -40,7 +40,7 @@ static void __init sun8i_h3_bus_gates_in const __be32 *p; int number, i; u8 clk_bit; - u32 index; + int index; reg = of_io_request_and_map(node, 0, of_node_full_name(node)); if (IS_ERR(reg)) upstream openwrtJames
aboutsummaryrefslogtreecommitdiffstats
blob: 0d0ccc69c0220655d088884c096cd8722bdfac6a (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