diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-09-12 11:31:12 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-09-14 14:08:42 -0400 |
commit | e606c109c485c6f8e27dd6ddcd2c0b58c96fc5c9 (patch) | |
tree | 2994782f76a976494f8a1385bce259cff907fe3a /arch/mips | |
parent | 19299b1a722198830e39264a0f2edadd3fde74c2 (diff) |
[MIPS] rtlx: fix int vs. long bug.
CC arch/mips/kernel/rtlx.o
arch/mips/kernel/rtlx.c: In function 'rtlx_init':
arch/mips/kernel/rtlx.c:114: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/rtlx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c index aab89e97abb5..04d8ee787f78 100644 --- a/arch/mips/kernel/rtlx.c +++ b/arch/mips/kernel/rtlx.c | |||
@@ -111,7 +111,7 @@ static void __used dump_rtlx(void) | |||
111 | static int rtlx_init(struct rtlx_info *rtlxi) | 111 | static int rtlx_init(struct rtlx_info *rtlxi) |
112 | { | 112 | { |
113 | if (rtlxi->id != RTLX_ID) { | 113 | if (rtlxi->id != RTLX_ID) { |
114 | printk(KERN_ERR "no valid RTLX id at 0x%p 0x%x\n", rtlxi, rtlxi->id); | 114 | printk(KERN_ERR "no valid RTLX id at 0x%p 0x%lx\n", rtlxi, rtlxi->id); |
115 | return -ENOEXEC; | 115 | return -ENOEXEC; |
116 | } | 116 | } |
117 | 117 | ||