* [PATCH] ARM: S3C24XX: fix typo in guard macro for s3c2412.h
@ 2018-06-17 19:46 efremov
2018-06-20 18:59 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: efremov @ 2018-06-17 19:46 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Viresh Kumar, linux-arm-kernel, linux-samsung-soc, linux-kernel,
ldv-project, Denis Efremov
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).
Signed-off-by: Denis Efremov <efremov@linux.com>
---
arch/arm/mach-s3c24xx/include/mach/s3c2412.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-s3c24xx/include/mach/s3c2412.h b/arch/arm/mach-s3c24xx/include/mach/s3c2412.h
index b6b32724ace8..4ff83f956cfb 100644
--- a/arch/arm/mach-s3c24xx/include/mach/s3c2412.h
+++ b/arch/arm/mach-s3c24xx/include/mach/s3c2412.h
@@ -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))
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: S3C24XX: fix typo in guard macro for s3c2412.h
2018-06-17 19:46 [PATCH] ARM: S3C24XX: fix typo in guard macro for s3c2412.h efremov
@ 2018-06-20 18:59 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2018-06-20 18:59 UTC (permalink / raw)
To: efremov
Cc: Viresh Kumar, linux-arm-kernel, linux-samsung-soc, linux-kernel,
ldv-project
On Sun, Jun 17, 2018 at 10:46:17PM +0300, efremov@linux.com wrote:
> 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).
>
> Signed-off-by: Denis Efremov <efremov@linux.com>
> ---
> arch/arm/mach-s3c24xx/include/mach/s3c2412.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks, applied.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-20 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-17 19:46 [PATCH] ARM: S3C24XX: fix typo in guard macro for s3c2412.h efremov
2018-06-20 18:59 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox