diff options
author | Richard Weinberger <richard@nod.at> | 2015-06-01 23:10:51 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-06-17 03:58:47 +0200 |
commit | bc349da0a6b3c6cf795b6a51e3f448d9d16a1686 (patch) | |
tree | 4d2d1c24a9171267545f139053be9d42ae8489ee /drivers/mtd/nand/nandsim.c | |
parent | mtd: r852: Fix device_create_file() usage (diff) | |
download | linux-bc349da0a6b3c6cf795b6a51e3f448d9d16a1686.tar.xz linux-bc349da0a6b3c6cf795b6a51e3f448d9d16a1686.zip |
mtd: cs553x_nand: Fix kasprintf() usage
kasprintf() does a dynamic memory allocation and can fail.
We have to handle that case.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nandsim.c')
0 files changed, 0 insertions, 0 deletions