Skip to content
Commit 092b6a1d authored by Cai Zhiyong's avatar Cai Zhiyong Committed by Brian Norris
Browse files

mtd: nand: assign mtd->name in find_full_id_nand



This patch assigned the type->name to mtd->name when mtd->name is
NULL in function "find_full_id_nand".
mtd->name is NULL may cause some problem.

Signed-off-by: default avatarCai Zhiyong <caizhiyong@huawei.com>
Acked-by: default avatarHuang Shijie <b32955@freescale.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 3e77216c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment