Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934323AbeAOPNE (ORCPT + 1 other); Mon, 15 Jan 2018 10:13:04 -0500 Received: from mout.web.de ([212.227.15.14]:56577 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934040AbeAOPNC (ORCPT ); Mon, 15 Jan 2018 10:13:02 -0500 To: kernel-janitors@vger.kernel.org, Lee Jones Cc: LKML From: SF Markus Elfring Subject: [PATCH 0/3] mfd/sm501: Adjustments for five function implementations Message-ID: Date: Mon, 15 Jan 2018 16:12:58 +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:oV3deKR0AjLVP9JEAEPS93+eD+a6Uf5jTtLs414w+dUVlKsLQL0 jIF55zQxCgCkyFLtKOAAv8TxKlhgywM5z9PGSgjcTcg9Hy4A8i5EZ2njxORk5PBvThazaMJ VOXD4lJqYJYOAqNm0ds0Q9dA0FZYHmIgA6A9XPh3eDf5ch3oDYR9HScHwzJ/YdgsMsRgcEo K7NyQ5KBBLzEiDr1ApmzA== X-UI-Out-Filterresults: notjunk:1;V01:K0:NzfviMtU9PY=:fYnsMRcy8eAz1Vhpipav9n XEQuGaHp6+42MpmcFkS/Z7RJNk/jHPrNHU7mlrWdJwqPSWaPTstSbUf0MKXZeT75O9JbbdQHi cE0Xp0urKNEue5tVd95uIViCbxWX7POY70ZV3ivqSlh/7MPkquFy/MLIJ3JY5R03XiqJZ/u2k vyCMzAVZy2/jAE5vJS2mM6cRjvEQyaSZn/AlUmlOtgnG/mb2USvP0q+xHx7rTlT1X1L9vQ2hb kUs2MkAvh8VV0iv4SiOygKgs28wW6DIfmDC7elIEN3qBVVxumInI9MoFT2F+ePLr0jLeVG7Nt Iad+1+qdpoRma56uapV35Bg9WDLWDTBKDUWAU3a4teCdVV2RaHG5WDRb3OwxAZFgqDxVZGnDw pn5K3VqzXAA75QdMLz+/adNjwlQqZgYaBovdBxrcjmzy0O5zPcVo7CR5OursyK8TLMT2BLhhA KCHAaA48T0pBK+kpy7KUu/d1Fw5OyN2XSDHdurPWE6HgDfXlbpKoAa6j/gBgxzAwWDHL4wS7d 8Ic++De2HpHS1NKyv+T36MiyEO8jde0VgQmX8pdU+aPSvAit+LS4lobKwZta14BZ/W7IVTEz8 CtHdHZthba0jSLKycGQQBP97UVK4qBc93tUsNVtmgpkYeCY+0OMGQrVI05tEXAX5fyjSzWRT6 5Ctx5zhZe02IilrU7CypgM67IsXmdxOUkGrvJ+kHM9Vpw7DPz4YfOT0jDjY64KEJBpwa0lXmV xQU2+q1+8T/JbF/gH7XVpM/H7Yur2Gr3gsDR99yJ/bKJO0bRovTkRkLiTz/kT0KttSDeAifYM tBfGwpH/rDXIg9VUynz3p61vZIx2/8LHMRzIir0bpIXUMQHpfA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Mon, 15 Jan 2018 16:11:22 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in two functions Improve a size determination in two functions Adjust 12 checks for null pointers drivers/mfd/sm501.c | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) -- 2.15.1