mtd: nandsim: use kasprintf()
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 28 Jul 2013 02:21:54 +0000 (11:21 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 20:05:24 +0000 (21:05 +0100)
commitf03a5729287a8bc1eb061a2f849b5a33ed9cd3ab
tree866280fd0824feb2642169fd064f702310c17e39
parent08efe91a1befa67bcc3799e0d29b7194803e1538
mtd: nandsim: use kasprintf()

Use kasprintf() which combines kmalloc and sprintf.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c