All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: stmfx: Fix macro definition spelling
@ 2019-05-11  1:23 ` Nathan Chancellor
  0 siblings, 0 replies; 14+ messages in thread
From: Nathan Chancellor @ 2019-05-11  1:23 UTC (permalink / raw)
  To: Amelie Delaunay, Lee Jones
  Cc: Alexandre Torgue, linux-kernel, clang-built-linux,
	Maxime Coquelin, Nathan Chancellor, linux-stm32, linux-arm-kernel

Clang warns:

In file included from drivers/mfd/stmfx.c:13:
include/linux/mfd/stmfx.h:7:9: warning: 'MFD_STMFX_H' is used as a
header guard here, followed by #define of a different macro
[-Wheader-guard]

Fixes: 06252ade9156 ("mfd: Add ST Multi-Function eXpander (STMFX) core driver")
Link: https://github.com/ClangBuiltLinux/linux/issues/475
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
---
 include/linux/mfd/stmfx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/mfd/stmfx.h b/include/linux/mfd/stmfx.h
index d890595b89b6..3c67983678ec 100644
--- a/include/linux/mfd/stmfx.h
+++ b/include/linux/mfd/stmfx.h
@@ -5,7 +5,7 @@
  */
 
 #ifndef MFD_STMFX_H
-#define MFX_STMFX_H
+#define MFD_STMFX_H
 
 #include <linux/regmap.h>
 
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-06-14  3:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-11  1:23 [PATCH] mfd: stmfx: Fix macro definition spelling Nathan Chancellor
2019-05-11  1:23 ` Nathan Chancellor
2019-05-13  7:10 ` Amelie DELAUNAY
2019-05-13  7:10   ` Amelie DELAUNAY
2019-05-13  7:30 ` Lee Jones
2019-05-13  7:30   ` Lee Jones
2019-05-14 18:39   ` Nathan Chancellor
2019-05-14 18:39     ` Nathan Chancellor
2019-05-14 18:54     ` Lee Jones
2019-05-14 18:54       ` Lee Jones
2019-05-14 19:45       ` Nathan Chancellor
2019-05-14 19:45         ` Nathan Chancellor
2019-06-14  3:57       ` Nathan Chancellor
2019-06-14  3:57         ` Nathan Chancellor

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.