procfs: fix printk format warning
PATCH 1/1 procfs: fix printk format warning
sparc: fix printk format warning:fs/proc/proc_misc.c:195: warning: long unsigned int format, unsigned int arg (arg 23)
diffstat: include/asm-sparc/vaddrs.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
include/asm-sparc/vaddrs.h renamed from include/asm-sparc/vaddrs.h~proc_misc_printk +2 -2
@@ -35,10 +35,10 @@#define IOBASE_VADDR 0xfe000000#define IOBASE_END 0xfe600000 -#define VMALLOC_START 0xfe600000 +#define VMALLOC_START 0xfe600000UL/* XXX Alter this when I get around to fixing sun4c - Anton */ -#define VMALLOC_END 0xffc00000 +#define VMALLOC_END 0xffc00000UL/* * On the sun4/4c we need a place
---
Quoted 5 lines · Randy.Dunlap
sparc: fix printk format warning:
fs/proc/proc_misc.c:195: warning: long unsigned int format, unsigned int arg (arg 23)Signed-off-by Randy Dunlap <[email protected]>diffstat:>
include/asm-sparc/vaddrs.h| 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)
The UL qualifier can't be used directly as VMALLOC_START is used in assembly (check arch/sparc/kernel/entry.S).
-- wli
Quoted 11 lines · William Lee Irwin III
Quoted 5 lines · Randy.Dunlap
sparc: fix printk format warning:
fs/proc/proc_misc.c:195: warning: long unsigned int format, unsigned int arg (arg 23)Signed-off-by Randy Dunlap <[email protected]>diffstat:>>
include/asm-sparc/vaddrs.h| 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)The UL qualifier can't be used directly as
VMALLOC_STARTis used in assembly (checkarch/sparc/kernel/entry.S).
Darn, that gives me some lack of confidence in my cross-build tools. Cross-build results are at:
https://www.osdl.org/plm-cgi/plm?module=patch_info&patch_idB38
and sparc build with this patch passed....
But I do trust that you know what you are talking about and that I probably have a toolchain problem.
Signature · 1 line
~Randy
Quoted 2 lines · William Lee Irwin III
Quoted 2 lines
The UL qualifier can't be used directly as
VMALLOC_STARTis used in assembly (checkarch/sparc/kernel/entry.S).
Quoted 6 lines · Randy.Dunlap
Darn, that gives me some lack of confidence in my cross-build tools. Cross-build results are at:
https://www.osdl.org/plm-cgi/plm?module=patch_info&patch_idB38
and sparc build with this patch passed....
But I do trust that you know what you are talking about and that I probably have a toolchain problem.
Okay, in that case, I wonder why it worked.
-- wli