Skip to content

Commit 101f26c

Browse files
committed
MIPS: octeon: Fix compile error
Commit ed6a0b6 ("MIPS: octeon: Use of_address_to_resource()") lost a cast, which causes a compile error. Fixes: ed6a0b6 ("MIPS: octeon: Use of_address_to_resource()") Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 600efe3 commit 101f26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/cavium-octeon/octeon-irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2890,7 +2890,7 @@ static int __init octeon_irq_init_ciu3(struct device_node *ciu_node,
28902890
if (WARN_ON(ret))
28912891
return ret;
28922892

2893-
ciu3_info->ciu3_addr = base_addr = phys_to_virt(res.start);
2893+
ciu3_info->ciu3_addr = base_addr = (u64)phys_to_virt(res.start);
28942894
ciu3_info->node = node;
28952895

28962896
consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST);

0 commit comments

Comments
 (0)