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.24-rc1~1364^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b099a390defd294a3832fe73626c25072967316;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