alistair23-linux/drivers/mtd/devices
Libo Chen d2b1bd1422 mtd: bcm47xxsflash: convert kzalloc to avoid invalid access
mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not
its member. So I use devm_kazlloc instead of kazlloc to avoid it.

* Changelog:
   convert to devm_kzalloc

Signed-off-by: Libo chen <libo.chen@huawei.com>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[Brian: fixed conflicts]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2013-08-30 21:52:10 +01:00
..
bcm47xxsflash.c mtd: bcm47xxsflash: convert kzalloc to avoid invalid access 2013-08-30 21:52:10 +01:00
bcm47xxsflash.h mtd: bcm47xxsflash: implement ChipCommon R/W ops 2013-08-05 18:20:32 +01:00
block2mtd.c mtd: Convert logging messages 2013-08-05 20:47:17 +01:00
docg3.c mtd: doc: use module_platform_driver_probe() 2013-04-05 13:14:24 +01:00
docg3.h mtd: docg3 add protection against concurrency 2012-03-27 01:03:27 +01:00
elm.c mtd: simplify use of devm_ioremap_resource 2013-08-30 21:36:15 +01:00
Kconfig mtd: diskonchip: remove unused entries in Kconfig 2013-08-05 21:01:55 +01: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 mr25h10 2013-08-30 21:44:10 +01:00
Makefile mtd: doc: remove support for DoC 2000/2001/2001+ 2013-04-05 12:04:31 +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_dataflash.c mtd: devices: use dev_get_platdata() 2013-08-30 21:34:31 +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: slram: invalid checking of absolute end address 2012-11-09 17:02:50 +02:00
spear_smi.c mtd: spear_smi: add missing __iomem annotation 2013-08-30 21:51:48 +01:00
sst25l.c mtd: devices: use dev_get_platdata() 2013-08-30 21:34:31 +01:00