linux/drivers/mtd
Dimitri Gorokhovik 16f05c2b68 mtd: nftl: fix offset alignments
Arithmetic conversion in the mask computation makes the upper word
of the second argument passed down to mtd->read_oob(), be always 0
(assuming 'offs' being a 64-bit signed long long type, and
'mtd->writesize' being a 32-bit unsigned int type).

This patch applies over the other one adding masking in nftl_write,
"nftl: write support is broken".

Signed-off-by: Dimitri Gorokhovik <dimitri.gorokhovik@free.fr>
Cc: Tim Gardner <tim.gardner@canonical.com>
Cc: Scott James Remnant <scott@canonical.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-09-03 14:59:16 +01:00
..
chips mtd: CFI 1.0 and CFI 1.1 2009-06-05 17:55:10 +01:00
devices mtd: m25p80: fix null pointer dereference bug 2009-09-03 13:58:02 +01:00
lpddr
maps Remove zero-length file drivers/mtd/maps/sbc8240.c 2009-08-12 06:29:57 -04:00
nand [ARM] Orion NAND: Make asm volatile avoid GCC pushing ldrd out of the loop 2009-08-24 11:56:00 -04:00
onenand mtd: OneNAND: OMAP2/3: free GPMC CS on module removal 2009-08-03 14:22:16 +01:00
tests
ubi UBI: compatible fallback in absense of sequence numbers 2009-07-24 20:08:52 +03:00
afs.c
ar7part.c
cmdlinepart.c mtd: cmdlineparts: Use 64-bit format when printing a debug message. 2009-06-25 08:18:12 +01:00
ftl.c
inftlcore.c mtd: Use BLOCK_NIL consistently in NFTL/INFTL 2009-06-27 09:22:10 +01:00
inftlmount.c
internal.h
Kconfig trivial: mtd: fix Kconfig comment about 'armflash' 2009-06-12 18:01:45 +02:00
Makefile
mtd_blkdevs.c mtd: blkdevs: do not forget to get MTD devices 2009-08-03 14:20:26 +01:00
mtdbdi.c
mtdblock_ro.c
mtdblock.c mtd: mtdblock: introduce mtdblks_lock 2009-08-03 14:25:00 +01:00
mtdchar.c
mtdconcat.c
mtdcore.c mtd: fix the conversion from dev to mtd_info 2009-08-03 14:16:01 +01:00
mtdcore.h
mtdoops.c
mtdpart.c
mtdsuper.c
nftlcore.c mtd: nftl: fix offset alignments 2009-09-03 14:59:16 +01:00
nftlmount.c
ofpart.c
redboot.c
rfd_ftl.c
ssfdc.c