[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1543138245-3673-1-git-send-email-liu.xiang6@zte.com.cn>
Date: Sun, 25 Nov 2018 17:30:45 +0800
From: Liu Xiang <liu.xiang6@....com.cn>
To: linux-arch@...r.kernel.org
Cc: arnd@...db.de, linux-kernel@...r.kernel.org, liuxiang_1999@....com,
Liu Xiang <liu.xiang6@....com.cn>
Subject: [PATCH] asm-generic: Add spaces around & operator
Add spaces around '&' to follow kernel coding style.
Signed-off-by: Liu Xiang <liu.xiang6@....com.cn>
---
include/asm-generic/fixmap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/fixmap.h b/include/asm-generic/fixmap.h
index 827e4d3..d6e8da3 100644
--- a/include/asm-generic/fixmap.h
+++ b/include/asm-generic/fixmap.h
@@ -18,7 +18,7 @@
#include <linux/bug.h>
#define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT))
-#define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
+#define __virt_to_fix(x) ((FIXADDR_TOP - ((x) & PAGE_MASK)) >> PAGE_SHIFT)
#ifndef __ASSEMBLY__
/*
--
1.9.1
Powered by blists - more mailing lists