Prev: [PATCH 1/1] Bluetooth: hidp: Add support for hidraw HIDIOCGFEATURE and HIDIOCSFEATURE
Next: linux-next: Tree for June 14
From: Stephen Rothwell on 13 Jun 2010 22:00 Hi Artem, After merging the ubi tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/mtd/ubi/scan.c: In function 'check_what_we_have': drivers/mtd/ubi/scan.c:960: warning: passing argument 1 of 'get_random_bytes' discards qualifiers from pointer target type Introduced by commit 095751a6e0838a712393a74eb0b7b6559dbdbe81 ("UBI: generate random image_seq when formatting MTD devices"). "ubi" is declared const (as a paramater to check_what_we_have()), so &ubi->image_seq is a pointer to a const int. get_random_bytes() wants to modify that ... -- Cheers, Stephen Rothwell sfr(a)canb.auug.org.au http://www.canb.auug.org.au/~sfr/
From: Artem Bityutskiy on 13 Jun 2010 22:40
On Mon, 2010-06-14 at 11:58 +1000, Stephen Rothwell wrote: > 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"). Thanks Stephen, I'll take care of these today. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |