All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] procfs: fix printk format warning
@ 2005-03-02  5:10 Randy.Dunlap
  2005-03-03  2:03 ` William Lee Irwin III
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Randy.Dunlap @ 2005-03-02  5:10 UTC (permalink / raw)
  To: sparclinux


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 <rddunlap@osdl.org>

diffstat: include/asm-sparc/vaddrs.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -Naurp ./include/asm-sparc/vaddrs.h~proc_misc_printk ./include/asm-sparc/vaddrs.h
--- ./include/asm-sparc/vaddrs.h~proc_misc_printk	2004-12-24 13:33:49.000000000 -0800
+++ ./include/asm-sparc/vaddrs.h	2005-03-01 16:58:02.249595144 -0800
@@ -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

---

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

* Re: [PATCH] procfs: fix printk format warning
  2005-03-02  5:10 [PATCH] procfs: fix printk format warning Randy.Dunlap
@ 2005-03-03  2:03 ` William Lee Irwin III
  2005-03-03  2:49 ` Randy.Dunlap
  2005-03-03 11:02 ` William Lee Irwin III
  2 siblings, 0 replies; 4+ messages in thread
From: William Lee Irwin III @ 2005-03-03  2:03 UTC (permalink / raw)
  To: sparclinux

On Tue, Mar 01, 2005 at 09:10:05PM -0800, Randy.Dunlap wrote:
> 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 <rddunlap@osdl.org>
> 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

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

* Re: [PATCH] procfs: fix printk format warning
  2005-03-02  5:10 [PATCH] procfs: fix printk format warning Randy.Dunlap
  2005-03-03  2:03 ` William Lee Irwin III
@ 2005-03-03  2:49 ` Randy.Dunlap
  2005-03-03 11:02 ` William Lee Irwin III
  2 siblings, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2005-03-03  2:49 UTC (permalink / raw)
  To: sparclinux

William Lee Irwin III wrote:
> On Tue, Mar 01, 2005 at 09:10:05PM -0800, Randy.Dunlap wrote:
> 
>>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 <rddunlap@osdl.org>
>>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).

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.

-- 
~Randy

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

* Re: [PATCH] procfs: fix printk format warning
  2005-03-02  5:10 [PATCH] procfs: fix printk format warning Randy.Dunlap
  2005-03-03  2:03 ` William Lee Irwin III
  2005-03-03  2:49 ` Randy.Dunlap
@ 2005-03-03 11:02 ` William Lee Irwin III
  2 siblings, 0 replies; 4+ messages in thread
From: William Lee Irwin III @ 2005-03-03 11:02 UTC (permalink / raw)
  To: sparclinux

William Lee Irwin III wrote:
>> The UL qualifier can't be used directly as VMALLOC_START is used in
>> assembly (check arch/sparc/kernel/entry.S).

On Wed, Mar 02, 2005 at 06:49:05PM -0800, Randy.Dunlap wrote:
> 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

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

end of thread, other threads:[~2005-03-03 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02  5:10 [PATCH] procfs: fix printk format warning Randy.Dunlap
2005-03-03  2:03 ` William Lee Irwin III
2005-03-03  2:49 ` Randy.Dunlap
2005-03-03 11:02 ` William Lee Irwin III

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.