linux-next: build warning after merge of the ubi tree

From: Stephen Rothwell
Date: Sun Jun 13 2010 - 21:58:32 EST


Hi Artem,

After merging the ubi tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/mtd/ubi/io.c: In function 'ubi_io_read':
drivers/mtd/ubi/io.c:153: warning: initialization makes integer from pointer without a cast
drivers/mtd/ubi/io.c:170: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
drivers/mtd/ubi/io.c:177: warning: format '%zd' expects type 'signed size_t', but argument 7 has type 'int'
drivers/mtd/ubi/io.c:177: warning: too many arguments for format

Introduced by commit 1a49af2ca019dcb4614c32f832bbcb814b61409c ("UBI:
improve ECC error message").
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature