All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: fix semicolon.cocci warnings
Date: Fri, 2 Jul 2021 11:46:44 +0800	[thread overview]
Message-ID: <20210702034644.GA43313@cf8fcb7ecece> (raw)
In-Reply-To: <202107021130.rRxMFogy-lkp@intel.com>

From: kernel test robot <lkp@intel.com>

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 <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [PATCH] arm64: fix semicolon.cocci warnings
Date: Fri, 02 Jul 2021 11:46:44 +0800	[thread overview]
Message-ID: <20210702034644.GA43313@cf8fcb7ecece> (raw)
In-Reply-To: <202107021130.rRxMFogy-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]

From: kernel test robot <lkp@intel.com>

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 <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

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,

  reply	other threads:[~2021-07-02  3:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-02  3:46 [arm-platforms:kvm-arm64/mmu/guest-MMIO-guard 21/24] arch/arm64/mm/ioremap.c:50:2-3: Unneeded semicolon kernel test robot
2021-07-02  3:46 ` kernel test robot
2021-07-02  3:46 ` kernel test robot [this message]
2021-07-02  3:46   ` [PATCH] arm64: fix semicolon.cocci warnings kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210702034644.GA43313@cf8fcb7ecece \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maz@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.