Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934494AbeAHQKx (ORCPT + 1 other); Mon, 8 Jan 2018 11:10:53 -0500 Received: from mout.web.de ([212.227.15.3]:54380 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932912AbeAHQKw (ORCPT ); Mon, 8 Jan 2018 11:10:52 -0500 To: kernel-janitors@vger.kernel.org, Andrew Morton , Arnd Bergmann , Brent Casavant , Greg Kroah-Hartman , Jeremy Higdon , Pat Gefre From: SF Markus Elfring Subject: [PATCH 0/4] misc-IOC4: Adjustments for ioc4_probe() Cc: LKML Message-ID: <4fb26753-2ae3-7c17-7777-03c6923a1d4b@users.sourceforge.net> Date: Mon, 8 Jan 2018 17:10:44 +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:e/7m6gP2+iDbLC9LG/yStOP+XoxMJqAHvibk0zag32mOMVlNCee b4BgtxlY1eP95CHABiRuIE23BHBU2lZROMZDq+3jDbCmm9P607IZDf66gZLXBVVmdUoOQLa XUZXzg6NHVDVBFMw0vH+q8IIYSEWEH47Xhdc5ugDhqE/JxpAh0TYigifyo8kcK0RiDmirJU hEO9gwKlvsUFmcFI3t4dw== X-UI-Out-Filterresults: notjunk:1;V01:K0:pLo6cOD2z78=:3smLtpptvur5z2JSaoSG3B 6+hzDPz90W6W3ckYJaiKBuG/ULZherD9BaaUGg7raTiDVKOb8DaU6QaNiBu4mZZO/AQ9r+0e1 wfehZR85KGIDlfb+oOx1LPE2+WuZj4lBXC9M8geaz7DhBi6Kx+SLltFFnKVCzOl7O9UiHGVdE yaDiRuBOA9Zijxb/lnPkY6fWKN9rL8IQYprNTu8ybpvWEPbrbVNbaepVQvRlK+v5oQM19aSXS XRjMYpO6ejwmCtxSCc3uBDPthAmc7dmv9UhWQWU3pbJ/0oyXkA1eQ0tQl8YTJNG+LBWwiLnif G/11cZn6Ecj3D3KjS2HQqZ918ooA9JsPpAi1mNqM3pzzVq+hHCx8O3f71PA10ARYhR1t1iVrs LSqmRrgYjwrS3L9QjOOTUulI3H5I5YJwTUKcAwDXivsd2a08OFOfWq95bMQ9qLtq7VtdqbBpU qaSjv4RFj8PPIzdMK3LtBQivTbzbVkDvbEuX2TA6MdkpdsoLDWG0U+J4uQC5BIVt5zC+6h4zN WbDIPOmDHV4eWrXMKSDT1j1qu6pfow0fhzflG6Ts+q0luiCqdL48kNxF+1H62mtY6mXjnOhJT w6ldtxcFrzGjtHJkgrLTciedI+rOhgAy1ek6KHPJvaSkplp5j9u6TWlTJ+QBkt3AZ7l3cNsX7 7byHk7UD2XknYsxKxvScEs54U6iZl0dXlIhN8+HZUnD5aCsqYHfAUpR+1cKjjh9lov8cuDqPe kBIIEHeT0h93pHZOCQT6TBCjB8gsWEiFGJnlBr65EtalMsgPWZtoknd3vhd7QnP+ffJRdUO85 cQT0SFc2+n+ZUTnGnjAcYaBX0VK6C2I5uM1q2A1rzS8VwwkUUo= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Mon, 8 Jan 2018 17:01:23 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Return -ENOMEM after a failed kmalloc() Delete an error message for a failed memory allocation Improve a size determination Adjust one function call together with a variable assignment drivers/misc/ioc4.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) -- 2.15.1