* [PATCH] ARM: S5PC210/S5PC110: VMALLOC_END should be unsigned long
@ 2010-08-19 1:19 Kyungmin Park
2010-08-21 0:07 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Kyungmin Park @ 2010-08-19 1:19 UTC (permalink / raw)
To: linux-arm-kernel
From: Kyungmin Park <kyungmin.park@samsung.com>
Silences following build warning:
arch/arm/mm/init.c: In function 'mem_init':
arch/arm/mm/init.c:644: warning: format '%08lx' expects type 'long
unsigned int', but argument 12 has type 'unsigned int'
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/arch/arm/mach-s5pv210/include/mach/vmalloc.h b/arch/arm/mach-s5pv210/include/mach/vmalloc.h
index 58f515e..5b4c69b 100644
--- a/arch/arm/mach-s5pv210/include/mach/vmalloc.h
+++ b/arch/arm/mach-s5pv210/include/mach/vmalloc.h
@@ -17,6 +17,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H __FILE__
-#define VMALLOC_END (0xE0000000)
+#define VMALLOC_END (0xE0000000UL)
#endif /* __ASM_ARCH_VMALLOC_H */
diff --git a/arch/arm/mach-s5pv310/include/mach/vmalloc.h b/arch/arm/mach-s5pv310/include/mach/vmalloc.h
index 3f565eb..5bf4345 100644
--- a/arch/arm/mach-s5pv310/include/mach/vmalloc.h
+++ b/arch/arm/mach-s5pv310/include/mach/vmalloc.h
@@ -17,6 +17,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H __FILE__
-#define VMALLOC_END (0xF0000000)
+#define VMALLOC_END (0xF0000000UL)
#endif /* __ASM_ARCH_VMALLOC_H */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: S5PC210/S5PC110: VMALLOC_END should be unsigned long
2010-08-19 1:19 [PATCH] ARM: S5PC210/S5PC110: VMALLOC_END should be unsigned long Kyungmin Park
@ 2010-08-21 0:07 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2010-08-21 0:07 UTC (permalink / raw)
To: linux-arm-kernel
Kyungmin Park wrote:
>
> From: Kyungmin Park <kyungmin.park@samsung.com>
>
> Silences following build warning:
>
> arch/arm/mm/init.c: In function 'mem_init':
> arch/arm/mm/init.c:644: warning: format '%08lx' expects type 'long
> unsigned int', but argument 12 has type 'unsigned int'
>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
>
> diff --git a/arch/arm/mach-s5pv210/include/mach/vmalloc.h b/arch/arm/mach-
> s5pv210/include/mach/vmalloc.h
> index 58f515e..5b4c69b 100644
> --- a/arch/arm/mach-s5pv210/include/mach/vmalloc.h
> +++ b/arch/arm/mach-s5pv210/include/mach/vmalloc.h
> @@ -17,6 +17,6 @@
> #ifndef __ASM_ARCH_VMALLOC_H
> #define __ASM_ARCH_VMALLOC_H __FILE__
>
> -#define VMALLOC_END (0xE0000000)
> +#define VMALLOC_END (0xE0000000UL)
>
> #endif /* __ASM_ARCH_VMALLOC_H */
> diff --git a/arch/arm/mach-s5pv310/include/mach/vmalloc.h b/arch/arm/mach-
> s5pv310/include/mach/vmalloc.h
> index 3f565eb..5bf4345 100644
> --- a/arch/arm/mach-s5pv310/include/mach/vmalloc.h
> +++ b/arch/arm/mach-s5pv310/include/mach/vmalloc.h
> @@ -17,6 +17,6 @@
> #ifndef __ASM_ARCH_VMALLOC_H
> #define __ASM_ARCH_VMALLOC_H __FILE__
>
> -#define VMALLOC_END (0xF0000000)
> +#define VMALLOC_END (0xF0000000UL)
>
> #endif /* __ASM_ARCH_VMALLOC_H */
--
Ok..will apply.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-21 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-19 1:19 [PATCH] ARM: S5PC210/S5PC110: VMALLOC_END should be unsigned long Kyungmin Park
2010-08-21 0:07 ` Kukjin Kim
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).