mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
clk: sunxi: signedness bug in sun8i_h3_bus_gates_init()
"index" needs to be signed for the error handling to work.
Fixes: ab6e23a4e3 ('clk: sunxi: Add H3 clocks support')
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
This commit is contained in:
parent
fd9ffd8be0
commit
b1558f168f
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ static void __init sun8i_h3_bus_gates_init(struct device_node *node)
|
|||
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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue