From: Richard Weinberger Date: Mon, 1 Jun 2015 21:10:50 +0000 (+0200) Subject: mtd: nandsim: Fix kasprintf() usage X-Git-Tag: omap-for-v4.2/fixes-rc1^2~143^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=641c7925b6ec78466358b654c731050b4179e5f4;p=pandora-kernel.git 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: Richard Weinberger Signed-off-by: Brian Norris --- Reading git-diff-tree failed