[SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 25 Aug 2007 22:17:31 +0000 (15:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 27 Aug 2007 01:49:11 +0000 (18:49 -0700)
commit4f1296a5169c13b2c1f76c1446aaf361e8519050
tree8afb78bb1100b01f7efb33d841a4282f62d7ad33
parent7bcd4dae6261b221108148befee20286c6c3a230
[SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c

resource_size_t can be either a u64 or a u32, and we can't
really know for sure, so when printing such a value out
always use long-long printf formatting and cast the argument
to that type.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsu.c
drivers/serial/sunzilog.c