Files
android_kernel_xiaomi_sm8450/drivers
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
..
2009-07-12 12:22:34 -07:00
2009-08-15 12:58:45 +09:00
2009-06-16 19:50:13 -07:00
2009-06-17 09:35:24 -07:00
2009-07-12 12:22:34 -07:00
2009-08-04 20:31:32 +02:00
2009-09-03 14:59:16 +01:00
2009-08-26 12:22:32 -07:00
2009-08-20 09:08:45 -07:00
2009-08-26 20:06:52 -07:00
2009-06-15 16:47:25 +10:00
2009-08-18 16:31:13 -07:00
2009-07-12 12:22:34 -07:00
2009-06-01 12:03:15 +01:00
2009-07-30 16:03:45 +09:30
2009-07-01 11:19:47 +02:00
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00