Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp944565imu; Wed, 23 Jan 2019 08:18:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN4lZSEgcVLsGMpUL8r8kxUzMgDWiWaB0lAlRJfXwp/cOY7TajgLgoQwxFqm23YPBPA5ZH+s X-Received: by 2002:a62:160d:: with SMTP id 13mr2506216pfw.203.1548260283652; Wed, 23 Jan 2019 08:18:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548260283; cv=none; d=google.com; s=arc-20160816; b=VQN3eyg+rgqRPkZvE1p1UyT/hBaEEn9gII7Ukl36esaYghSuKvhSowJphUYjDeD6OM xalEt/1DPUqmp17EvWWTFIil4LAQ7gFcUfGY7hJpHcxY/u2u4mxY0Nx96r2J/4Lh/nSw Kc00bh7OPZqrMnRzgH6A8eGA79FF+mpfpAjQioBmCT7mcKeiWRr1WqcC85MS3DM1qUo4 KBRqjArxVqaDFLNQx8ZZWV/qsE4VbCvDRMJ2EMl2YSNkDQoW2U/taq4EMABfToWE2I1c IOEJWCLlhWNMHsD4LfAGmGSE+92wpKriubCg9nTfouyeuqfjv2NQG/nWYkZdpLcOZDdh TM3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date; bh=dnLTO+iqdRIMjnCZI8DOGxkQGjBcgNHqWgxkbyMCWXg=; b=QK44YWsITkCc8NFqr+L8aa9nCId+3tTJyikMJ+rCNnvd1dl5lqEjjbUumJI4dWqV7v Qm//o4xTbEq43QxDkZZVrUMSZ7WX6F2x6SFsi8q1YMYd9ls/tTiN5dCfaV9SIK6o2tSW poeoA1CDy9YvxVFRAI0mwxSYffaZeXwCddUSXm+j6eiahICM5EBuF7+qB//NIqO1iWuw he+7o4gRlin0CuADmsyKLKahCpbgW8tRFTWF2CptxUGqom/dE8HLULe+Yo+38SYGgD6c hbr3ZdkQrOLcHkArL6dYzGwrIhBjSM0zpc1Snke4iV5dgz+celyWsKVlCzouakifHil6 QR7w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si18503619pga.83.2019.01.23.08.17.48; Wed, 23 Jan 2019 08:18:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726251AbfAWQQ1 (ORCPT + 99 others); Wed, 23 Jan 2019 11:16:27 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:52035 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725994AbfAWQQ1 (ORCPT ); Wed, 23 Jan 2019 11:16:27 -0500 Received: from oxbsltgw08.schlund.de ([212.227.220.152]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M3DBd-1glWmZ3IOD-003dxv; Wed, 23 Jan 2019 17:16:06 +0100 Date: Wed, 23 Jan 2019 17:16:05 +0100 (CET) From: Stefan Wahren To: YueHaibing , broonie@kernel.org, eric@anholt.net, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org Message-ID: <2064917135.710926.1548260165940@email.ionos.de> In-Reply-To: <20190123070507.15404-1-yuehaibing@huawei.com> References: <20190123070507.15404-1-yuehaibing@huawei.com> Subject: Re: [PATCH -next] spi: bcm2835aux: remove unneeded NULL check of devm_clk_get MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev47 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K1:9mabrZGoQKRSZQr9I6ZiP+0AnSc72EVBNLh84GmHZAfIEIf/sqX eMZcGcgGn2Q1dtLEB7Ix9raatAf7ELEJCBQjUaAkYVFENuVPgu9I1B5imDoVCoiId5YSJKO qH4JFhNGf7OWbkJBYkZA5S0NPcx5Q1LAKQPvz4xOIqjjn+eDp0tIc6M7JguPVfAnzCPcypa 95IDmoW/yV3ujprIBYQ5w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:6ReyfGeQ0ng=:SMw/zddT1TPelJJ9vHqAiC 8nUzBPzPXqUgZ+HUDDcYYoBOLRqoWIS6Dm8vDxH1D85qP/KyUNFFCJ2K7csHsFomg0+As4XWJ 715ZEaljr2j46Tpu+BW3/M+s9+wI1DRSGoIytr5FrP3lPo77+GNl6wcuwpVqb4VUwPp1niDBV tesgyhckN15ugYE/SAMszS3YxSOIcCo4ewHFA11z1pXKJ3X9dvwue5wVwTo/7mohtQhmbhiir isGp4E4OhdqoFAYpQrbocjjdYeRxtG9l8IXkc3GVFtP7pi9UnX9FtOWp8UPFLqEZ1wKQmgVPw KQPdiCq7ukhkuPqp4Lg3QH0TsXoyV3EOZRi7zs0BctSGWXZl7I1K/GtO/dnTF7OsqyfQtYXKH K/17L8oAGJ/dWZ7miVLuR3qdre2fVDU/uehcVEv4VvkKwZLj1DK8fCpUDfWQkC0U6nA9InsfB w8pgsdWZ1mqCtGgbTNeHvCmvxwmyYBVGcjONWhUeF0WKnV+CPYnc8TG/cqKvTd5giWMupd82B X/5SEwTsdslrqqCA0yYNBweVuTmX0z6up77ACUIu8ZHiy62H/OOfVGFCv6hcdxjY47J++qbxQ 4UXn8cYJlc7LYRp+o5BEG2wcKjk3RIvaKYynLxzHInc5iCYJ8IN/YGfGT8LYX9c+AelPCBXx8 ADdreqXqu9JqhvMXreHLJVZufaYLG0j2zAYipyyIdJdp9G03OUBWMyr6yVqTPg9Y62ziI7isa 0+YKjwrzEQwKL0UfDdpXMc8sjPH8+4ScHUxcLSGDFg9zBdlGTU6PRScCbx8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > YueHaibing hat am 23. Januar 2019 um 08:05 geschrieben: > > > Fix a static code checker warning: > drivers/spi/spi-bcm2835aux.c:460 > bcm2835aux_spi_probe() warn: passing zero to 'PTR_ERR' > > In case of error, the function devm_clk_get() returns ERR_PTR() > and not returns NULL. > > Signed-off-by: YueHaibing Acked-by: Stefan Wahren