Skip to contentSkip to conversation

ARM: S3C24XX: fix typo in guard macro for s3c2412.h

PATCH Applied [email protected] 2 participants 2 messages Jun 17, 2018 – Jun 20, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: S3C24XX: fix typo in guard macro for s3c2412.h

The guard macro __ARCH_ARM_REGS_S3C24XX_S3C2412_H in header s3c2412.h doesn't match the #ifndef macro __ARCH_ARM_MACH_S3C24XX_S3C2412_H. This patch defines the guard correctly.

Found by Linux Driver Verification project (linuxtesting.org).

---
 arch/arm/mach-s3c24xx/include/mach/s3c2412.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-s3c24xx/include/mach/s3c2412.h +1 -1
index b6b32724ace8..4ff83f956cfb 100644
@@ -6,7 +6,7 @@
  */
 
 #ifndef __ARCH_ARM_MACH_S3C24XX_S3C2412_H
-#define __ARCH_ARM_REGS_S3C24XX_S3C2412_H __FILE__
+#define __ARCH_ARM_MACH_S3C24XX_S3C2412_H __FILE__
 
 #define S3C2412_MEMREG(x)		(S3C24XX_VA_MEMCTRL + (x))
 #define S3C2412_EBIREG(x)		(S3C2412_VA_EBI + (x))
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 11 lines · efremov at linux.com

The guard macro __ARCH_ARM_REGS_S3C24XX_S3C2412_H in header s3c2412.h doesn't match the #ifndef macro __ARCH_ARM_MACH_S3C24XX_S3C2412_H. This patch defines the guard correctly.

Found by Linux Driver Verification project (linuxtesting.org).

---
 arch/arm/mach-s3c24xx/include/mach/s3c2412.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied.

Best regards,
Krzysztof