summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-05-28 19:17:54 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2007-08-02 21:47:01 +0100
commit515495a1da9abf339b922b7919c4950e85b87b42 (patch)
tree46c29ffbd43faaa4461edd6de669f868333e5e72 /include/asm-powerpc
parenta4265f8d9241ba583e48380f1b9e60cfcb798449 (diff)
downloadop-kernel-dev-515495a1da9abf339b922b7919c4950e85b87b42.zip
op-kernel-dev-515495a1da9abf339b922b7919c4950e85b87b42.tar.gz
[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 <ben-linux@fluff.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-powerpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud