linux/drivers/mtd/chips
Hou Tao 03976af89e mtd: cfi_cmdset_0002: don't free cfi->cfiq in error path of cfi_amdstd_setup()
Else there may be a double-free problem, because cfi->cfiq will
be freed by mtd_do_chip_probe() if both the two invocations of
check_cmd_set() return failure.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2019-11-09 14:42:47 +05:30
..
cfi_cmdset_0001.c mtd: cfi_cmdset_*: kill useless 'ret' variable initializers 2019-11-09 14:42:09 +05:30
cfi_cmdset_0002.c mtd: cfi_cmdset_0002: don't free cfi->cfiq in error path of cfi_amdstd_setup() 2019-11-09 14:42:47 +05:30
cfi_cmdset_0020.c mtd: cfi_cmdset_*: kill useless 'ret' variable initializers 2019-11-09 14:42:09 +05:30
cfi_probe.c mtd: cfi: Add early fixup for S70GL02GS 2018-05-04 09:52:38 +02:00
cfi_util.c mtd: cfi_util: use DIV_ROUND_UP() in cfi_udelay() 2019-11-09 14:40:48 +05:30
chipreg.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
fwh_lock.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gen_probe.c mtd: chips: gen_probe: kill useless initializer in mtd_do_chip_probe() 2019-08-27 17:08:18 +05:30
jedec_probe.c MTD changes: 2018-04-06 12:15:41 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
map_absent.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
map_ram.c mtd: Stop updating erase_info->state and calling mtd_erase_callback() 2018-03-21 09:50:56 +01:00
map_rom.c mtd: remove the get_unmapped_area method 2017-11-13 21:39:18 +01:00