From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Thu, 12 Jan 2017 10:33:19 +0000 Subject: [PATCH 0/3] MTD-FTL: Fine-tuning for two function implementations Message-Id: <4a5a265e-96c8-5fe6-487a-92a0d47a91da@users.sourceforge.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-mtd@lists.infradead.org, Boris Brezillon , Brian Norris , Cyrille Pitchen , David Woodhouse , Marek Vasut , Richard Weinberger Cc: LKML , kernel-janitors@vger.kernel.org From: Markus Elfring Date: Thu, 12 Jan 2017 11:24:12 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Use kmalloc_array() in build_maps() Delete an error message for a failed memory allocation in ftl_add_mtd() Improve another size determination in ftl_add_mtd() drivers/mtd/ftl.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) -- 2.11.0