diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2014-03-19 18:24:37 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-31 18:43:22 -0700 |
commit | 86e4bbc766b9456f583f2fc3c4f6c623b422af88 (patch) | |
tree | 858f90e51c1b3559c9c2e2f295a26e1002722bc4 /drivers/mtd/nand/fsl_ifc_nand.c | |
parent | 148256fa0bb8e05a00db3f204b36e19e6312102c (diff) |
mtd: diskonchip: mem resource name is not optional
Passing a name to request_mem_region() isn't optional and can't just
be NULL. Passing NULL causes a NULL ptr deref later in the boot
process.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Tested-by: Alexander Shiyan <shc_work@mail.ru>
Cc: <stable@vger.kernel.org> # 3.14
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/fsl_ifc_nand.c')
0 files changed, 0 insertions, 0 deletions