forked from Minki/linux
serial_txx9: fix printk format mismatch
Since the commit 4f640efb31
, "%lx" is not
suitable for p->mapbase (resource_size_t) in 32-bit. This patch fixes a
compiler warning caused by the mismatch.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e6b3322084
commit
ddb437b7f7
@ -1043,8 +1043,9 @@ static int __devinit serial_txx9_probe(struct platform_device *dev)
|
||||
ret = serial_txx9_register_port(&port);
|
||||
if (ret < 0) {
|
||||
dev_err(&dev->dev, "unable to register port at index %d "
|
||||
"(IO%x MEM%lx IRQ%d): %d\n", i,
|
||||
p->iobase, p->mapbase, p->irq, ret);
|
||||
"(IO%x MEM%llx IRQ%d): %d\n", i,
|
||||
p->iobase, (unsigned long long)p->mapbase,
|
||||
p->irq, ret);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user