can: sja1000_of_platform: fix build problems with printk format
authorWolfgang Grandegger <wg@grandegger.com>
Wed, 10 Jun 2009 08:12:39 +0000 (01:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jun 2009 08:12:39 +0000 (01:12 -0700)
commit51611a120e8120290152edd7d0020d22a7f4b4a3
tree75ed9a66a1282e4d93711f20b7d88310e963a087
parentbf12691d846b48fa6e3289810a822687457036cf
can: sja1000_of_platform: fix build problems with printk format

According to "Documentation/printk-formats.txt", if the type is
dependent on a config option for its size, like resource_size_t,
we should use a format specifier of its largest possible type and
explicitly cast to it.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/sja1000/sja1000_of_platform.c