Skip to content

Commit c85ec01

Browse files
committed
fix clang-format
1 parent 3eccdfa commit c85ec01

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ ipamap_t agency_ipamap[] = {
3131
/* PCIe configuration ranges */
3232
.ipa_addr = 0x4010000000,
3333
.phys_addr = 0x4010000000,
34-
.size = 0x10000000
34+
.size = 0x10000000,
3535
},
3636
{
3737
/* PCIe devices IO and 32 bits memory ranges */
3838
.ipa_addr = 0x10000000,
3939
.phys_addr = 0x10000000,
40-
.size = 0x2f000000
40+
.size = 0x2f000000,
4141
},
4242
{
4343
/* PCIe devices 64 bits memory ranges */
4444
.ipa_addr = 0x8000000000,
4545
.phys_addr = 0x8000000000,
46-
.size = 0x8000000000
46+
.size = 0x8000000000,
4747
},
4848
};
4949

so3/avz/kernel/fbdev_gnt.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static void __map_fbdev(struct domain *d, const fbdev_pfns_t *pfn_info)
3737
size_t size;
3838
void *pgtable;
3939

40-
pgtable = (void *)d->pagetable_vaddr;
40+
pgtable = (void *) d->pagetable_vaddr;
4141
ipa_addr = pfn_to_phys(d->fbdev_start_pfn);
4242

4343
/* Map all distincts ranges of the framebuffer to the capsule */
@@ -64,15 +64,14 @@ static void __map_fake_fbdev(struct domain *d, const fbdev_pfns_t *real_fb)
6464
BUG_ON(!priv.fake_fbdev);
6565
}
6666

67-
pgtable = (void *)d->pagetable_vaddr;
67+
pgtable = (void *) d->pagetable_vaddr;
6868
ipa_addr = pfn_to_phys(d->fbdev_start_pfn);
6969
phys_addr = __pa(priv.fake_fbdev);
7070

7171
/* Map the capsule framebuffer to the fake one */
7272
for (i = 0; i < real_fb->pfn_count; i++) {
7373
for (j = 0; j < real_fb->page_count[i]; j++) {
74-
__create_mapping(pgtable, ipa_addr, phys_addr, PAGE_SIZE,
75-
true, S2);
74+
__create_mapping(pgtable, ipa_addr, phys_addr, PAGE_SIZE, true, S2);
7675

7776
ipa_addr += PAGE_SIZE;
7877
}

0 commit comments

Comments
 (0)