Skip to content

Commit 26eff0c

Browse files
author
Daniel Rossier
committed
Fix clang issues
1 parent 74d60ce commit 26eff0c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

so3/arch/arm64/rpi4_64/include/mach/ipamap.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222
#include <asm/mmu.h>
2323

24-
ipamap_t agency_ipamap[] = {
24+
ipamap_t agency_ipamap[] =
25+
{
2526

2627
/* I/O Memory space*/
2728
{

so3/devices/irq/gic.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,9 @@ static int gic_init(dev_t *dev, int fdt_offset)
658658
int prop_len;
659659
int cpu;
660660

661-
for (cpu = 0; cpu < CONFIG_NR_CPUS; cpu++)
661+
for (cpu = 0; cpu < CONFIG_NR_CPUS; cpu++) {
662662
spin_lock_init(&per_cpu(intc_lock, cpu));
663+
}
663664

664665
gic = (gic_t *) malloc(sizeof(gic_t));
665666
BUG_ON(!gic);

0 commit comments

Comments
 (0)