summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtd_blkdevs.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-05-28 22:17:54 +0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-06-28 23:23:40 +0400
commit8b099a390defd294a3832fe73626c25072967316 (patch)
tree95c61a560bdda26e154ac75a7e4ddb997d05df48 /drivers/mtd/mtd_blkdevs.c
parent4b23aff083649eafa141ed69ad0ff59ba639edf8 (diff)
downloadlinux-8b099a390defd294a3832fe73626c25072967316.tar.xz
[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 'drivers/mtd/mtd_blkdevs.c')
0 files changed, 0 insertions, 0 deletions