* [PATCH] asm-generic: Add spaces around & operator
@ 2018-11-25 9:30 Liu Xiang
0 siblings, 0 replies; only message in thread
From: Liu Xiang @ 2018-11-25 9:30 UTC (permalink / raw)
To: linux-arch; +Cc: arnd, linux-kernel, liuxiang_1999, Liu Xiang
Add spaces around '&' to follow kernel coding style.
Signed-off-by: Liu Xiang <liu.xiang6@zte.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-25 9:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-25 9:30 [PATCH] asm-generic: Add spaces around & operator Liu Xiang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).