kernel-ark/drivers/mtd/devices
Gabor Juhos 2e24e32e27 mtd: block2mtd: fix recursive call of mtd_writev
The 'mtd_writev' interface calls the function assigned
to the '_write' field of a given mtd device if that is
not NULL. The block2mtd driver sets the '_writev' field
to the 'mtd_writev' function itself and thus causes a
endless loop.

This is caused by 1dbebd3256
(mtd: harmonize mtd_writev usage).

Remove the assignment from the block2mtd driver to fix the
issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: stable@kernel.org [3.3+]
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-06-01 20:23:19 +01:00
..
block2mtd.c mtd: block2mtd: fix recursive call of mtd_writev 2012-06-01 20:23:19 +01:00
doc2000.c mtd: flash drivers set ecc strength 2012-03-27 00:56:46 +01:00
doc2001.c mtd: flash drivers set ecc strength 2012-03-27 00:56:46 +01:00
doc2001plus.c mtd: flash drivers set ecc strength 2012-03-27 00:56:46 +01:00
docecc.c mtd: spelling, capitalization, uniformity 2011-09-11 15:02:13 +03:00
docg3.c mtd: docg3 fix in-middle of blocks reads 2012-05-29 11:14:51 +03:00
docg3.h mtd: docg3 add protection against concurrency 2012-03-27 01:03:27 +01:00
docprobe.c mtd: docprobe: use kzalloc instead 2012-01-09 18:25:51 +00:00
Kconfig MTD merge for 3.4 2012-03-30 17:31:56 -07:00
lart.c mtd: move zero length verification to MTD API functions 2012-03-27 00:32:19 +01:00
m25p80.c mtd: m25p80: Add support for Winbond W25Q80BW 2012-05-13 23:24:26 -05:00
Makefile mtd: ST SPEAr: Add SMI driver for serial NOR flash 2012-03-27 00:14:16 +01:00
ms02-nv.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c mtd: move zero length verification to MTD API functions 2012-03-27 00:32:19 +01:00
mtdram.c mtd: harmonize mtd_point interface implementation 2012-03-27 00:32:11 +01:00
phram.c mtd: phram: fix section mismatch for phram_setup 2012-03-27 01:02:29 +01:00
pmc551.c MTD merge for 3.4 2012-03-30 17:31:56 -07:00
slram.c MTD merge for 3.4 2012-03-30 17:31:56 -07:00
spear_smi.c mtd: spear_smi: Add clk_{un}prepare() support 2012-05-13 22:53:24 -05:00
sst25l.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00