Message ID | 20180304004646.GA17215@lkp-hsx02 (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-mediatek-bounces+patchwork-linux-mediatek=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 C965C602B5 for <patchwork-linux-mediatek@patchwork.kernel.org>; Sun, 4 Mar 2018 00:48:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7B6B28707 for <patchwork-linux-mediatek@patchwork.kernel.org>; Sun, 4 Mar 2018 00:48:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC5492878F; Sun, 4 Mar 2018 00:48:05 +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=ham 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 9F5982870F for <patchwork-linux-mediatek@patchwork.kernel.org>; Sun, 4 Mar 2018 00:48:04 +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=KEzwS6ZnELlphwLD8E6hOQOJ53GtklhR8BZWaStsqCU=; b=TtJzoxfMcwnXd8 7L8Ntmc+rb6OIupsQgx4GK+1hiTBaGXffCQFmU6PPXTwKOW21xYtjAj1OCF4/3W+T0gDvqPNQHoWW FXUcyvkHC/7K/rxHBLuJy83AC4JrIyXpr08pmALBMSu6NXh9LhXb6yUYAYqiU+UW334PuBdq0oX95 XerlA75wsg0hmJqKW74wlnExOmqecMZX/QfHSFyAnv/h684LO96hdw5m7YhZlumQ3vK2y1DfEnGRW bCRWj49LoT1D2F/45+Z/Hwe//q+xDpkarDDwxBXvdzpXgQHaCKmFXFw6XuFRzIEM32qzZF6Ed80iS Yf5MNEEPgWFXjXsj3jYA==; 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 1esHok-0002iZ-Sa; Sun, 04 Mar 2018 00:47:58 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1esHog-0002fh-Uc; Sun, 04 Mar 2018 00:47:56 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Mar 2018 16:47:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,420,1515484800"; d="scan'208";a="21663563" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga007.fm.intel.com with ESMTP; 03 Mar 2018 16:47:37 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from <fengguang.wu@intel.com>) id 1esHoW-000Fgj-Ff; Sun, 04 Mar 2018 08:47:44 +0800 Date: Sun, 4 Mar 2018 08:46:46 +0800 From: kbuild test robot <lkp@intel.com> To: Andrey Smirnov <andrew.smirnov@gmail.com> Subject: [PATCH] nvmem: uniphier-efuse: fix ptr_ret.cocci warnings Message-ID: <20180304004646.GA17215@lkp-hsx02> References: <20180228144106.16363-7-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180228144106.16363-7-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-20180303_164755_146037_71B98D53 X-CRM114-Status: GOOD ( 22.20 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-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-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/drivers/nvmem/uniphier-efuse.c +++ b/drivers/nvmem/uniphier-efuse.c @@ -61,10 +61,7 @@ static int uniphier_efuse_probe(struct p econfig.priv = priv; econfig.dev = dev; nvmem = devm_nvmem_register(dev, &econfig); - if (IS_ERR(nvmem)) - return PTR_ERR(nvmem); - - return 0; + return PTR_ERR_OR_ZERO(nvmem); } static const struct of_device_id uniphier_efuse_of_match[] = {