From a715badd2ea814876f0ccbe72c3bef8302f22ab0 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Thu, 20 Aug 2015 19:14:16 +0000 Subject: [PATCH] Minor comment and style fixes, no functional change. Submitted by: Svatopluk Kraus --- sys/arm/arm/busdma_machdep-v6.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arm/arm/busdma_machdep-v6.c b/sys/arm/arm/busdma_machdep-v6.c index 67e053bf1b58..ddc9de4e9caa 100644 --- a/sys/arm/arm/busdma_machdep-v6.c +++ b/sys/arm/arm/busdma_machdep-v6.c @@ -110,8 +110,8 @@ struct bounce_page { }; struct sync_list { - vm_offset_t vaddr; /* kva of bounce buffer */ - bus_addr_t busaddr; /* Physical address */ + vm_offset_t vaddr; /* kva of client data */ + bus_addr_t busaddr; /* client physical address */ bus_size_t datacount; /* client data count */ }; @@ -625,7 +625,8 @@ out: return (error); } -static int allocate_bz_and_pages(bus_dma_tag_t dmat, bus_dmamap_t mapp) +static int +allocate_bz_and_pages(bus_dma_tag_t dmat, bus_dmamap_t mapp) { struct bounce_zone *bz; int maxpages;