Commit 641c7925 authored by Richard Weinberger's avatar Richard Weinberger Committed by Brian Norris
Browse files

mtd: nandsim: Fix kasprintf() usage



kasprintf() used in get_partition_name() does a dynamic
memory allocation and can fail. We have to handle that case.

Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent bc349da0
Supports Markdown
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