Received: by 10.223.185.111 with SMTP id b44csp474000wrg; Fri, 9 Mar 2018 08:02:28 -0800 (PST) X-Google-Smtp-Source: AG47ELuGITcIGKrMEiRwB9oRC/VZKk83410hfAuv5O3cbCAbLj/9z/iwRelP5mnpBWYVIHbTrm8Y X-Received: by 10.98.163.67 with SMTP id s64mr30649189pfe.67.1520611348281; Fri, 09 Mar 2018 08:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520611348; cv=none; d=google.com; s=arc-20160816; b=hIihEEf1DwExM2YrwcztDsWDZHP/gDkk1Y1zudg4PZDavTFZccEtMBYnOblSiwFIXt waWpLBjI8WI7j/BnW1r29iFH8oZJIUxGpITBVj3bgA2Lj3Eymf/L/1be23Qfo6gqN0US smQTufUFsHryVuJce5Si9aioAbvbj48Cbpec/Zl3LX39fitopARXe81nivTGlyvHMFdQ c+7EAzrXtfucv2er/D1iYzS9DWfXwfwH65qwOMUqOW34dJqzEVwAJuJl92StqXb8FgSb kMmmuBgdAGolTUHpMBODfdpCcv/iHhuaw/16lZZvmOtKOM16PEmyyTSleGXi5jXKUMER ZS1A== 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=VqZI0wiV+oQzD01hY/h93uIcFvaYJydxJBE4oeVNZVs=; b=vaVpP5Qp3TerPLEjjFBt097fR4a/FXgjBGAFrL04jL0/+cwp7RZb3F5h8nAVCe6aDk sc8ANqlx0f0TQ/xKMP6u7BRAq2lNm1pvIQhFTV/NFk65UjVJ8zJOybaRGdKbjCdCeZy5 EZ0sQjQATp684Y6VV6zSVQxjxC1hDuzUXzV80T9bXTvM/zEASX4c2U3JoG2DaSL3NfSB QfiuTAbaQoYFNePEaoKvy7HHQB7+USI5g8H5seDJITzn8bB3Y5Dj5P3jtM8hyKwF9/NC /I48VCUga/+fPL+trDkTL1suPhblYvFjxUwEdZSN++zj2aW7Thgz0nHBW/IuvCCODGJ/ N3ew== 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 y15si907959pgc.229.2018.03.09.08.02.09; Fri, 09 Mar 2018 08:02:28 -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 S932085AbeCIQAm (ORCPT + 99 others); Fri, 9 Mar 2018 11:00:42 -0500 Received: from mout.web.de ([217.72.192.78]:55911 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbeCIQAk (ORCPT ); Fri, 9 Mar 2018 11:00:40 -0500 Received: from [192.168.1.2] ([92.228.30.253]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LZeZU-1eFRiy03NE-00lRJg; Fri, 09 Mar 2018 17:00:20 +0100 Subject: [PATCH v2 0/3] mfd/abx500-core: Adjustments for eight function implementations From: SF Markus Elfring To: Linus Walleij , Lee Jones , linux-arm-kernel@lists.infradead.org Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <6c8ff539-9e9d-635b-22a8-df8100ac8156@users.sourceforge.net> Date: Fri, 9 Mar 2018 17:00:19 +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:NGBKmL4BUjiNaO6kHDu03gCOIkXqx2I0igdasfxcS+q/byilJuQ o3MXCH8wI/RMl/8xJFrFPUuMZ9WYDf4QOFUGymO0ksyRB3BfoZpPCLirmoXpp1I7OL2qbDD 1McS+HJ7clzX3IGPS9p/+9VOsucksrXbvmSRujxBIpoePS6Sb+h5ej3GlfzIhVtzGmiSfiP QvNfPtIfSiYvJ1qV8QNwA== X-UI-Out-Filterresults: notjunk:1;V01:K0:4FK06a/2FQg=:QmnDTH2N2JCBnKiTKNdUgD 2DAx3n7sD4Ml7vn4Tc39AwrIv98ir+2Hx5ZKltkC00/33H090tIbE3UbEULcDzXWGpmqz+PhS 7X6hkke145AO8qQ2yFKPzGppEchNemCeu+OLHbKEagFYyqfE8yUgkJNcmDH0E3sKojUC6bje4 lgis7nr+IreoPO3PZrwKFscfAshhBaz8q6P/pJa3SjCqZGOzVYs8cFn5X69xSDxkdSUJ86n3S Nzn6UqUdRFmYEm8JXVazf5OII2AV9w0modJvzPB50ULcd2QoLNelC/UgEvaHREp7J2g0F+5Ag P/373vVGD0ju94aQ2jakukZ9nPUpC940oA9KkoPJkJMCbhJ2RLNjgVJ2u6FlYNQDUaKwbweKh 2RBg2LQA+m+rXfP3B6StFr9Z1NlR580f0mSDBu0yf6p4h0auHaHwO4NhQzAidt4jkuy3lCV87 /KOIz3JOAHyPskvXG43S0N0qA0u3bfF8jh825vf/mrLaQ2oxlg4J13bpVfBwIGaZQZ+Jc5WR6 PtUjw7CMkqs2QHdcMqtMwHXCxjZbmZJ1avODVXesEebr0yBWMKHCbEy7X38HdaV0MelCuxEny W0nZToge9RvHXCZoGbrScKM8L4b+LRcxxAhCtbiFn4GURHYPv6FIIOm243ukDEBJOOUlDaNPj BnmC8xf2pYMcJ7lYjrq3FUXwLWvaTiCoKV5za+1IGafQ4h4yrUNmRxYvyaja5cXyUkIZUZeQ+ qK4/o24JCX+p2Q3c6L5KNekmwq7Vb8t76dSMsDodiP332jceXm3BBQgM4b0gqPqvdrLPCoiK/ Ut0pyvCgpZe/AChuwk1g5r+hMWo9Z2imlsxU8WcAJgCbwytE7I= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in abx500_register_ops() Improve two size determinations in abx500_register_ops() Adjust 14 checks for null pointers Reviewed-by: Linus Walleij --- v2: Lee Jones requested a resend for these patches. The changes were rebased on source files from Linux next-20180308. drivers/mfd/abx500-core.c | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) -- 2.15.1