[PATCH] xen: remove trailing semicolon in macro definition

trix@redhat.com posted 1 patch 3 years, 5 months ago
Failed in applying to current master (apply log)
arch/x86/include/asm/xen/page.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xen: remove trailing semicolon in macro definition
Posted by trix@redhat.com 3 years, 5 months ago
From: Tom Rix <trix@redhat.com>

The macro use will already have a semicolon.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 arch/x86/include/asm/xen/page.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/xen/page.h b/arch/x86/include/asm/xen/page.h
index 5941e18edd5a..1a162e559753 100644
--- a/arch/x86/include/asm/xen/page.h
+++ b/arch/x86/include/asm/xen/page.h
@@ -355,7 +355,7 @@ unsigned long arbitrary_virt_to_mfn(void *vaddr);
 void make_lowmem_page_readonly(void *vaddr);
 void make_lowmem_page_readwrite(void *vaddr);
 
-#define xen_remap(cookie, size) ioremap((cookie), (size));
+#define xen_remap(cookie, size) ioremap((cookie), (size))
 #define xen_unmap(cookie) iounmap((cookie))
 
 static inline bool xen_arch_need_swiotlb(struct device *dev,
-- 
2.18.4


Re: [PATCH] xen: remove trailing semicolon in macro definition
Posted by Jürgen Groß 3 years, 4 months ago
On 27.11.20 17:07, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
> 
> The macro use will already have a semicolon.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen
Re: [PATCH] xen: remove trailing semicolon in macro definition
Posted by Jürgen Groß 3 years, 4 months ago
On 27.11.20 17:07, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
> 
> The macro use will already have a semicolon.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>

Applied to: xen/tip.git for-linus-5.11


Juergen