Message ID | 20180304111333.GA24937@lkp-hsx02 (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 45A59602BD for <patchwork-linux-rockchip@patchwork.kernel.org>; Sun, 4 Mar 2018 11:14:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 326C32875B for <patchwork-linux-rockchip@patchwork.kernel.org>; Sun, 4 Mar 2018 11:14:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 26FCA2878E; Sun, 4 Mar 2018 11:14:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DA5CD2875B for <patchwork-linux-rockchip@patchwork.kernel.org>; Sun, 4 Mar 2018 11:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=w9DcQCMNHrDkTu8bo+IhQC7xfr9eUmi1Bwy/KxLYLE0=; b=DdB7ami9yW3EOR CNcpYNnXNroSEBSeOcfVXBeBeyKNEL6LQqSrL6n3aLGsZlLRc9B+FGYaxOBsqR9w6rjO8+5ebIXAm 1ba/01vMwJgQ3pT6Rg+qL+riBz7gI2CJqaejMUvLrdcXUPEFPk18RM5O56LPfJBAh8m3qbgERXnUb IMl57DXGou0KkXraSbR2Aw5B0W31w64KCcpWhL8eaKOvy8+x/18ERSd9x5onPqXGt+HveMCmYn3fi 9cnBt7pAXZSnDuuPYbsV+v1Wkm4OXKl6da8eKnqc5sT8ag5N5iqKEbmPBC99apDmtEcc65Cxi9y1C yB4aT3F0y1+7Atc+O7CQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1esRbQ-0001dh-Oq; Sun, 04 Mar 2018 11:14:52 +0000 Received: from mga17.intel.com ([192.55.52.151]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1esRbJ-0001Tr-10; Sun, 04 Mar 2018 11:14:47 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Mar 2018 03:14:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,422,1515484800"; d="scan'208";a="22413971" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga008.jf.intel.com with ESMTP; 04 Mar 2018 03:14:28 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from <fengguang.wu@intel.com>) id 1esRb9-000287-0G; Sun, 04 Mar 2018 19:14:35 +0800 Date: Sun, 4 Mar 2018 19:13:33 +0800 From: kbuild test robot <lkp@intel.com> To: Andrey Smirnov <andrew.smirnov@gmail.com> Subject: [PATCH] nvmem: meson-mx-efuse: fix ptr_ret.cocci warnings Message-ID: <20180304111333.GA24937@lkp-hsx02> References: <20180228144106.16363-12-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180228144106.16363-12-andrew.smirnov@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180304_031445_207742_306B24F8 X-CRM114-Status: GOOD ( 18.96 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Cc: linux-arm-kernel@lists.infradead.org, Heiko Stuebner <heiko@sntech.de>, linux-rockchip@lists.infradead.org, Andrey Smirnov <andrew.smirnov@gmail.com>, Kevin Hilman <khilman@baylibre.com>, linux-kernel@vger.kernel.org, Masahiro Yamada <yamada.masahiro@socionext.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, kbuild-all@01.org, linux-amlogic@lists.infradead.org, Carlo Caione <carlo@caione.org>, linux-mediatek@lists.infradead.org, cphealy@gmail.com, Matthias Brugger <matthias.bgg@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/drivers/nvmem/meson-mx-efuse.c +++ b/drivers/nvmem/meson-mx-efuse.c @@ -234,10 +234,7 @@ static int meson_mx_efuse_probe(struct p } efuse->nvmem = devm_nvmem_register(&pdev->dev, &efuse->config); - if (IS_ERR(efuse->nvmem)) - return PTR_ERR(efuse->nvmem); - - return 0; + return PTR_ERR_OR_ZERO(efuse->nvmem); } static struct platform_driver meson_mx_efuse_driver = {