From: Ben Dooks Date: Mon, 28 May 2007 18:17:54 +0000 (+0100) Subject: [MTD] [NAND] nand_base.c: fix type of eccpos pointer X-Git-Tag: v2.6.23-rc2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=515495a1da9abf339b922b7919c4950e85b87b42;p=pandora-kernel.git [MTD] [NAND] nand_base.c: fix type of eccpos pointer The nand_base.c driver implicitly casts the uint32_t eccpos array to 'int *', which is not only not guaranteed to be the same sign as the source, but is not guaranteed to be the same size. Fix by changing nand_base.c to use uint32_t referencing the eccpos fields. Signed-off-by: Ben Dooks Signed-off-by: David Woodhouse --- Reading git-diff-tree failed