Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752793AbeADT36 (ORCPT + 1 other); Thu, 4 Jan 2018 14:29:58 -0500 Received: from mout.web.de ([212.227.17.12]:51463 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752271AbeADT34 (ORCPT ); Thu, 4 Jan 2018 14:29:56 -0500 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: SF Markus Elfring Subject: [PATCH 0/2] mtdconcat: Adjustments for two function implementations Message-ID: <07947bdd-2b30-e4b5-82f7-d98b62df858e@users.sourceforge.net> Date: Thu, 4 Jan 2018 20:28:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Ls/MZcyEIolwwvNcVyGHwmOl60dCHYnEVpVphhmUWDVbkuW4aet vBQjqOiYATRamr2EE7gNOj2FKA1QvRC+GarX11bJUan2dAa4+xJnXVnYlur+JLt2evUz+Hp mNRNg/adhvFuqi5LqUOlNlVu1u3n5C6/eqM25IifdPNNGTtISsFahPGqqNIthe9/oI2d/K0 lYFq760HmgnjRCOZxUtNA== X-UI-Out-Filterresults: notjunk:1;V01:K0:FknDIaywKVg=:rpxtZC6qRzWkVrLXeCltkq Q8J6RDmpT/h/S8SlXjVOLzF517vf9gWYpubavvVenhdKBKhRqYnnsVv9uw/VOYER5t064b5BJ h8tn55NydeRzlAr+luFoXftbkDk4SAIsHAfcu0grMYfAc1mbxrvwCIAw9YhkfX+dWdyheV5z2 jqCEDyw2bk59nUhBzC3JAFcOIT37TeoXaUYIoqKMpFOVJzgFkVRighCgsV1GOvq7roqh4HlzX ux42XYejOIQ/wJzmCny01kCKmAzqrXGsvHSOM0q+CgjT6Og84HekOS7uAibHK6PFK5hEf8woK sUWn4kJGGaYDhnK+sm1GHmwLgIZg9RG4GuHiAH2Eq16RbETxQj0o6510FrabRFWWnG6/BxiHv u61LnrT+NhxovU7P8a0LujXl2vKNfVyAAeIwARDSOJyUXfLYRQORPGdxY8SYcSjdKMusytx/0 itf8h/No9Xuv9Hi81k2RjVDoE8UoY6QFebeoKQBnAc8TYJcLQy7VWfLZV+GvgHqolIJuk74zo QQx0XHfiAjjumN2MiqEzj2nJR3xKsX8iKcpc/AuxvwPBLEtQgAyqRsgsXyXa7Zteahsyl8cta GVN0HcQpT1EBo+VWqLlWTCIiR/GXsio9QAAVVJSR8pdqcPPNurWW6F3FMeuw/USRg5Pcxgiks fGOKbQtjHcB5uynNbP+HV3y3QDOM8Js2HcvwtD0ApgNHM+NI9Vh1qePeOep2cu5B6xqGkZTFn +H0qjRpGs4E6jmHYWoqcokbM71UVQEZ4qPbBT2MF76FOnwhqID/jw+QwGV+L6qFqd7b+RC+Ke Hr7lbVe0fcw2ibkatZigtjs83OKkJV1KpMhlyX+ypWiQtrnQlc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Thu, 4 Jan 2018 20:24:56 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation in mtd_concat_create() Improve a size determination in concat_erase() drivers/mtd/mtdconcat.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) -- 2.15.1