From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196AbeAVPtM (ORCPT ); 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 X-Google-Smtp-Source: AH8x227alPa2YgsQ8olYytLfWjzyLOvauGR++zwag9o7y2MmmGD92ef1NsbzEQ+eon8HvyzW4p5GUQ== 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 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