summaryrefslogtreecommitdiff
path: root/arch/mips/cavium-octeon
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-03-27 10:35:22 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-03-27 10:39:47 +0200
commit101f26c72825c5dba1dfe826e4202a9a04b435c6 (patch)
tree126cf8fe23a348b690530d5ff18313a23d28a7ab /arch/mips/cavium-octeon
parent600efe35d54961dd026f04c6ea5b4074b3284c87 (diff)
downloadlwn-101f26c72825c5dba1dfe826e4202a9a04b435c6.tar.gz
lwn-101f26c72825c5dba1dfe826e4202a9a04b435c6.zip
MIPS: octeon: Fix compile error
Commit ed6a0b6e9fd7 ("MIPS: octeon: Use of_address_to_resource()") lost a cast, which causes a compile error. Fixes: ed6a0b6e9fd7 ("MIPS: octeon: Use of_address_to_resource()") Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r--arch/mips/cavium-octeon/octeon-irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c
index 064e2409377a..8425a6b38aa2 100644
--- a/arch/mips/cavium-octeon/octeon-irq.c
+++ b/arch/mips/cavium-octeon/octeon-irq.c
@@ -2890,7 +2890,7 @@ static int __init octeon_irq_init_ciu3(struct device_node *ciu_node,
if (WARN_ON(ret))
return ret;
- ciu3_info->ciu3_addr = base_addr = phys_to_virt(res.start);
+ ciu3_info->ciu3_addr = base_addr = (u64)phys_to_virt(res.start);
ciu3_info->node = node;
consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST);