mtd: docg4: fix printk() warnings
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 31 Jan 2012 08:54:06 +0000 (11:54 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:21:44 +0000 (00:21 +0100)
commit2c4ae276b13114a2c7ebac31257db391b4bf2b6f
tree88237fcdc4d9efddebff7da470c53a77f1cceac3
parent5289966ea576a062b80319975b31b661c196ff9d
mtd: docg4: fix printk() warnings

Gcc complains here:
drivers/mtd/nand/docg4.c: In function ‘probe_docg4’:
drivers/mtd/nand/docg4.c:1277:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘resource_size_t’ [-Wformat]
drivers/mtd/nand/docg4.c:1277:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘resource_size_t’ [-Wformat]

We have a standard way of printing these using a format string
extension.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/docg4.c