mtd: diskonchip: mem resource name is not optional
commit 86e4bbc7 upstream. 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> Signed-off-by:
Brian Norris <computersforpeace@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment