kernel: mtdsplit_uimage: use separated buffer for reading data
authorRafał Miłecki <zajec5@gmail.com>
Thu, 12 Feb 2015 07:44:34 +0000 (07:44 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Thu, 12 Feb 2015 07:44:34 +0000 (07:44 +0000)
commit072759ff3968af3c1bbc1f6837829362591c69b3
tree38b00ca02f33456f55dedd38ede5a900756950e3
parent5673e0b703a1cb5037c8763dc7d9ea8e5c51ced4
kernel: mtdsplit_uimage: use separated buffer for reading data

We shouldn't read data directly into the header struct, as some devices
(e.g. Edimax) need more bytes due to some extra header.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44414
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c