Received: by 10.223.185.111 with SMTP id b44csp485652wrg; Fri, 9 Mar 2018 08:12:11 -0800 (PST) X-Google-Smtp-Source: AG47ELsCGFAbcD4yfBFQTf9rHgDfC1uA8Ul1pW6Fyq0Gippt9pP8QM4NT2XHiBWK6ovKDYNh9lmy X-Received: by 10.98.217.211 with SMTP id b80mr31053420pfl.107.1520611931511; Fri, 09 Mar 2018 08:12:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520611931; cv=none; d=google.com; s=arc-20160816; b=s6TO0iFOhxW8K2d7rHtTJcHs2Nm6dUbuXLQCGg6bI8i2FEMHcPuQy5J9W3etOPpHfi jmrqxWxTdoWCXhU2ck32cj9cUnBM1jxW8Vd/zHNJn8FLpN/F8i4ZcvrPVyXhk68zxZ2C UzWMYG6pxrGwVoB6tSpPkUjCWgdGO5V5X6YX3mSl6fu8+01hILA07Csup29gUPSP0bQh /5kJDmL4vBx0q0V1aIvwezinMGAmPDj9TvhqAkSCl1o8+nsXyCLVab6QlXSUwdB4Im/B 7tTFBjN6dJVGwtrNv7n6WtlISESalo8JXTEm99vLNoF3JDazDNU4Lq8Z3BZ7u2ymcmi6 +6cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=Orw0vljbDwAIlzBTJwDV6Qi1j25XnbMmPHMVyuxBX1g=; b=o/rursAgvQScqVtKK3YWGdpDoJsiV25lrObW3WWyTJNsXYvl8OiA2K0NJ2GNtJ2oSB 24ZXUHChKKdnE6YFLQUQi25ty8a+tSPtGzRn1xDFUICNPtt/M0dmOg6JEw85fNbgDvh5 uEPb9Z1CosViddwK+wXoZQe2lYhpzaBJznTkYE42PnKkGrRLDAPntDKTAuILhLrS9miH FcciKrQGamLLHIDGZ2eWojstyP9x27Syv+rlB/vAXTGYwv6NWaPvqN3x2nNfgUDj3zN/ 7zuZMiSMnjtNwZIfYUyJ/7L6KR0Qf3s8MsbFxL0votJ0eaXNyoNi7cFkqUTHuA1yVdPu ypFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si1047479pfa.413.2018.03.09.08.11.57; Fri, 09 Mar 2018 08:12:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932176AbeCIQKp (ORCPT + 99 others); Fri, 9 Mar 2018 11:10:45 -0500 Received: from mout.web.de ([212.227.17.12]:47577 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbeCIQKo (ORCPT ); Fri, 9 Mar 2018 11:10:44 -0500 Received: from [192.168.1.2] ([92.228.30.253]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MDg9K-1esdnI0cJC-00H4hf; Fri, 09 Mar 2018 17:10:42 +0100 Subject: [PATCH v2 0/2] mfd/sm501: Adjustments for five function implementations From: SF Markus Elfring To: kernel-janitors@vger.kernel.org, Lee Jones Cc: LKML References: Message-ID: <5271ab9f-3be1-035c-90c1-8faba2e119b8@users.sourceforge.net> Date: Fri, 9 Mar 2018 17:10:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:KhQlDDYfeh9rWKDtlKl/3eiqDf7oOtWZSBX1C5/xBGiJ0NrEMDo spKupcRUMBgfyRuhcLPZwAVnNJugxiFDT6PfHxKefJrHGXa0FYmzFF5bjFtTQDE7kS0cUDQ h66Theea0zeKhsAQGgpKDCXkxBOIwq+1lsda3p4biuCAFhgV46UKNq5cvo9luGTE/xQRSd/ Tj+c85EIyLYDfCqTtHqjQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:6zEtyzeKnhM=:5aOiZlVXA48trtQbtxnm5A JSfu9I9aYoz0RBYpFsw6IPQ1cpJHDY7V1jQv5rOZD6Cu99xC4GB34C31p+tI0FyytZ+BWfliT 2NRCT79anFR7SnebOZTT4sTIDIb2qpT5NLyzP06uvXRTRRqQtGlpWmNecYel+T7RiObgztkFD EBH+lEpklnHENzc2U065rLxIe3wijTqQQNVzDOfMqR//83sTz40l4tOC7FlzDOhzKUVtLhXSK P8q9BFejRIFpAbEWnbX7aCEwOeMXIhZPMzizUaVaVcNNIsmhcfjMvC5WEt6g7d66o3TiOTJ5g 4ULfA8F8FtFkzjc86d9QEm+S+hz1CN1K0hGoKeEdLV6VYiUlKjdivFTfJ6xM0Pv/kZO3i0YnR DcN1nnV2yiuXL41ZbOaAFBWgQZaFYrVItDiLI76SDUX5O46/mRE1k0N5aQ9BMJ4BuBogfm+J2 W78sKLqZwgg8kKT5SC8iP5/JSVWtr09o7D7dA9S6FqINIYte01xN+VxlNLIMYGVU/Q//3tOOA hg4/fNOSqxFd4/Itb5Fh3WmAIAVPmppUWUBop+EtrpeTznOIw25QutO+3PeV9/9L3IqiM7Gks yTyFNn/g6ylOGyzkf8n6961TgsVOLwBxfMD6OdPI5dVIV4YxEnUMP/gk3xM+GF/folKtbz/If +hFVc7nj12uXSmdPPHUcFcdHOjZhYDC0TKjeSgiQyxPkQdtaclD3hg74kU019eP/tFpM40dZV ZRBA/mHHTV6LSRdhnqHWn4ts4v7gAGXragWfKOGUGay6G+DWlFJAwjE4Wd2DyC1BnXbWGCaf4 xiSGpCQ97unTahY0rd5BLHJHEDeemJIP6l4Ih7CQxJOy4XAdNg= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Improve a size determination in two functions Adjust 12 checks for null pointers --- v2: Lee Jones requested a resend for these patches. The changes were rebased on source files from Linux next-20180308. drivers/mfd/sm501.c | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) -- 2.15.1