Received: by 10.223.176.46 with SMTP id f43csp3062099wra; Mon, 22 Jan 2018 07:50:56 -0800 (PST) X-Google-Smtp-Source: AH8x226na57hQxU039nGUC8UpQBVjtJe7Em0TxulSVujXzXZsyXSODOwJTH2kVXxWm4hzKN1QSWz X-Received: by 10.107.148.82 with SMTP id w79mr8356587iod.207.1516636256088; Mon, 22 Jan 2018 07:50:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516636256; cv=none; d=google.com; s=arc-20160816; b=xIwMmYCNW+EPvMnwKRtY3WxQOLKKPdfUYaOTV5OwabBYuv8QbXQo9FC6BTcFtzIf/Q +jsyM2KORxG8iyy8QnQOCeT0KHKQOQFDAIR14dkfxYEpHVmngqicTqH8rXj4a3Y8bt5R xDHjXUI2pRk43LpzWpdK3DnMUPuXGciGQdnsSB+8xP9DG6qcIJOI9maSE3L/jnFevsvP F6XMtByqrxoM3zvfJw/486O8TPG4Rtmii8Xcpu4UWf5ydDz0T/QS071UJEiPySq5TyRc r3elEjqGQNAMC2FiOXg/gPrN2L8svbjRsBi7GP7LdmONPYkwMs3OP/BHh7QUkoQMUb6B /uPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=CXoosLlFG5G0WnaENaUWDd5NjnJj0ogADU6mAQ7w5w0=; b=C8FLJthYC1iYG39KAT3MBfBgJOoOLJKl+Ff7r3mfuZUQJlU32+I6iIyRpUgqWbMviJ +0icigvMBQm/80KseftGd2A3YLxEblAkeIFevqyGhRcPVIjlfxpPW227TCgTFapJ0HOr E6GP4/CXfj+jKtEWyw7ZAfmj4V3Y6RF20wvcJBrkwOJSnOZjptgWOMRnHjIZDUH9NpTt kEapCKoYhZbc/DGcRsnvgCRfYIa5X5J7Mz4/v1T1g+BkQV7KrV6zrkMnXAEx4QR4PQof nrAIGV4WAscjUTv9HTkGrJ0vgBE/6PgCpFrTWg/rqI0uQc+01ZmVGy4XsZEv1Tylcc9H DkOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jujooAlp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n184si13462004iof.131.2018.01.22.07.50.43; Mon, 22 Jan 2018 07:50:56 -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; dkim=pass header.i=@linaro.org header.s=google header.b=jujooAlp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751183AbeAVPtM (ORCPT + 99 others); Mon, 22 Jan 2018 10:49:12 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:43002 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751087AbeAVPtK (ORCPT ); Mon, 22 Jan 2018 10:49:10 -0500 Received: by mail-wm0-f65.google.com with SMTP id r71so4662969wmd.1 for ; Mon, 22 Jan 2018 07:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=CXoosLlFG5G0WnaENaUWDd5NjnJj0ogADU6mAQ7w5w0=; b=jujooAlp1YFQYYADgrvTixEV7Yc4vwgbJ7H25xqGmsxs1ztVWn2gu0Q0DYG5wNfclS x0mcq1SLNnkticSBY5oXGx5PRQSqi5N9hQOOsKqfZ/49tC63FBfcZNwu0F/QMu9H3NFD l1KJPox46ElIGa4GYZNJPpwf0mfoN45cH70Aw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=CXoosLlFG5G0WnaENaUWDd5NjnJj0ogADU6mAQ7w5w0=; b=rSag0r/kw6tSgUerbHBAmeszADRxekcqixPfnLDttBiIF9ghwhwfWQ8/7aYLEQSJkF MEiE020IdRLw/7sfHA1m0XpxlXEKXPXQlBrIjHr8nZe/X6eIKV2oZNX0+nxrmUDu4ulS 7fQAw+dywdpKXeZrQGmpd9ElsmQf7iN/U1u15B19yQoBuO9LEQGtuZ1mYpZy8p8IYStN p2g9V1/NV+VdNZzSjNgRdExDukKr3qZ/jZYPgEvJMh406lclQjWMXprm5KKdFqzyC/CQ 26kEgwadDfBd3Fhxf75feurNkXasY8bjsUIGYARpA8zJMcFUlMNWVw2Yb1vgSFRuNJxU GKVA== X-Gm-Message-State: AKwxyteCyjbwbWbPvUqXUJPWy15lkUuhiXKUBOkUJmDW88QP/KykMb1Q wbJp5qd072SVmjkBxIcv+el7iEpgd/s= X-Received: by 10.28.45.74 with SMTP id t71mr5346619wmt.90.1516636149146; Mon, 22 Jan 2018 07:49:09 -0800 (PST) Received: from dell ([2.27.167.60]) by smtp.gmail.com with ESMTPSA id 63sm10604841wms.46.2018.01.22.07.49.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jan 2018 07:49:08 -0800 (PST) Date: Mon, 22 Jan 2018 15:49:06 +0000 From: Lee Jones To: SF Markus Elfring Cc: kernel-janitors@vger.kernel.org, LKML Subject: Re: [PATCH 3/3] mfd/sm501: Adjust 12 checks for null pointers Message-ID: <20180122154906.dl2cyvwfdmi2j6r6@dell> References: <10199b4b-ba7d-a253-25c5-e81cafb1d8c9@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <10199b4b-ba7d-a253-25c5-e81cafb1d8c9@users.sourceforge.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Jan 2018, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 15 Jan 2018 16:00:22 +0100 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > The script “checkpatch.pl” pointed information out like the following. > > Comparison to NULL could be written … > > Thus fix the affected source code places. > > Signed-off-by: Markus Elfring > --- > drivers/mfd/sm501.c | 26 +++++++++++--------------- > 1 file changed, 11 insertions(+), 15 deletions(-) Applied, thanks. -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog