linux/drivers/mtd
Xiaochen Wang 629286b956 mtd: sm_rtl: check kmalloc return value
Because malloc/kzalloc may fail, we should check kmalloc/kzalloc return value
 in sm_create_sysfs_attributes(), mtd/sm_rtl.c and do error handling.
Meanwhile, we should check sm_create_sysfs_attributes return value.

Signed-off-by: Xiaochen Wang <wangxiaochen0@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-03-11 14:27:10 +00:00
..
chips mtd: cfi: add support for AMIC flashes (e.g. A29L160AT) 2011-03-11 14:27:01 +00:00
devices mtd: m25p80: add support for M25PX64 2011-03-11 14:22:45 +00:00
lpddr mtd: change struct flchip_shared spinlock locking into mutex 2010-08-06 09:22:16 +01:00
maps mtd: NOR flash driver for OMAP-L137/AM17x 2011-03-11 14:22:47 +00:00
nand mtd: mxc_nand: fix OOB corruption when page size > 2KiB 2011-03-11 14:23:48 +00:00
onenand mtd: omap: add new variable to platform data to control onenand unlocking 2011-03-11 14:22:47 +00:00
tests mtd: speedtest: fix integer overflow 2011-03-11 14:22:49 +00:00
ubi Merge git://git.infradead.org/mtd-2.6 2011-01-17 11:15:30 -08:00
afs.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
ar7part.c [MTD] mtdpart: Make all partition parsers return allocated array 2009-03-20 18:55:17 +00:00
cmdlinepart.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
ftl.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
inftlcore.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
inftlmount.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
Kconfig mtd: Add mtdswap block driver 2011-03-11 14:22:46 +00:00
Makefile mtd: Add mtdswap block driver 2011-03-11 14:22:46 +00:00
mtd_blkdevs.c mtd_blkdevs: Set the maximum discards size 2011-03-11 14:22:46 +00:00
mtdblock_ro.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
mtdblock.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
mtdchar.c Merge git://git.infradead.org/mtd-2.6 2011-01-17 11:15:30 -08:00
mtdconcat.c mtd: adapt writebufsize calculation for concat 2011-03-11 14:22:42 +00:00
mtdcore.c mtd: local symbols should be static 2011-03-11 14:22:41 +00:00
mtdcore.h mtd: Replace static array of devices with an idr structure 2010-02-25 11:55:14 +00:00
mtdoops.c Merge git://git.infradead.org/mtd-2.6 2011-01-17 11:15:30 -08:00
mtdpart.c mtd: mtdpart: disallow reading OOB past the end of the partition 2011-01-17 15:25:48 +00:00
mtdsuper.c convert get_sb_mtd() users to ->mount() 2010-10-29 04:16:26 -04:00
mtdswap.c mtd: Add mtdswap block driver 2011-03-11 14:22:46 +00:00
nftlcore.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
nftlmount.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
ofpart.c mtd: Fix endianness issues from device tree 2010-10-25 00:55:56 +01:00
redboot.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
rfd_ftl.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00
sm_ftl.c mtd: sm_rtl: check kmalloc return value 2011-03-11 14:27:10 +00:00
sm_ftl.h mtd: sm_ftl: cosmetic, use bool when possible 2010-10-25 01:33:08 +01:00
ssfdc.c mtd: Update copyright notices 2010-08-08 20:58:20 +01:00