[arm-platforms:kvm-arm64/mmu/guest-MMIO-guard 21/24] arch/arm64/mm/ioremap.c:50:2-3: Unneeded semicolon

2 messages, 1 author, 2021-07-02 · open the first message on its own page

[arm-platforms:kvm-arm64/mmu/guest-MMIO-guard 21/24] arch/arm64/mm/ioremap.c:50:2-3: Unneeded semicolon

From: kernel test robot <hidden>
Date: 2021-07-02 03:49:03

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/mmu/guest-MMIO-guard
head:   eaa14cfc37fb699852730097dbccc780b633d44e
commit: 04738e5f5a3763254c93a7f3f6f4b6caf0a1a80f [21/24] arm64: Implement ioremap/iounmap hooks calling into KVM's MMIO guard
config: arm64-randconfig-c024-20210630 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>


cocci warnings: (new ones prefixed by >>)
quoted
arch/arm64/mm/ioremap.c:50:2-3: Unneeded semicolon
   arch/arm64/mm/ioremap.c:73:2-3: Unneeded semicolon

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[PATCH] arm64: fix semicolon.cocci warnings

From: kernel test robot <hidden>
Date: 2021-07-02 03:48:48

From: kernel test robot <redacted>

arch/arm64/mm/ioremap.c:50:2-3: Unneeded semicolon
arch/arm64/mm/ioremap.c:73:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 04738e5f5a37 ("arm64: Implement ioremap/iounmap hooks calling into KVM's MMIO guard")
Reported-by: kernel test robot <redacted>
Signed-off-by: kernel test robot <redacted>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/mmu/guest-MMIO-guard
head:   eaa14cfc37fb699852730097dbccc780b633d44e
commit: 04738e5f5a3763254c93a7f3f6f4b6caf0a1a80f [21/24] arm64: Implement ioremap/iounmap hooks calling into KVM's MMIO guard
:::::: branch date: 15 hours ago
:::::: commit date: 15 hours ago

 ioremap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/arm64/mm/ioremap.c
+++ b/arch/arm64/mm/ioremap.c
@@ -47,7 +47,7 @@ void ioremap_page_range_hook(unsigned lo
 
 		size -= PAGE_SIZE;
 		phys_addr += PAGE_SIZE;
-	};
+	}
 }
 
 void iounmap_page_range_hook(phys_addr_t phys_addr, size_t size)
@@ -70,7 +70,7 @@ void iounmap_page_range_hook(phys_addr_t
 
 		size -= PAGE_SIZE;
 		phys_addr += PAGE_SIZE;
-	};
+	}
 }
 
 static void __iomem *__ioremap_caller(phys_addr_t phys_addr, size_t size,
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help