From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13F45C43381 for ; Tue, 12 Mar 2019 08:07:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D55F9214AE for ; Tue, 12 Mar 2019 08:07:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iZxKCZVG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D55F9214AE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=R5q0PQrtXV9kFmIiZt8KnUNoaDobGm/sNKnLeOM6oLU=; b=iZxKCZVGuKkD/zrMfN8FRMpys PYVWOep2F/+DEopn7pXX+q9QMubMVbwqDCFKYyj1WYk9uyq0YljoOzd2dXre2l2A0g7Q1SrugC74T wfspRkg8ohketwC9DNrNKIgs0HgZz0M9ugd56wcd8e8b7vbGEkSebm42sTrYiu5NN3bESAiJrEVo7 eI+3/Q24X057h9DLS3VmPM+YoB0ESG71o+xEPGYNCKFA42jJjsf5fpRfiPAF+WqfqrE+EZSplEqhb 6Up+QY9PvsPGlGXQzAe3jgHTCqFx6Ad61selatEhOEHV1xi0kNW4DgrevszdNoWF4RSoMvOTeA/XN fkQNHLZ2g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3cRW-0002Ze-BH; Tue, 12 Mar 2019 08:07:22 +0000 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3cRS-0002YZ-D6 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2019 08:07:20 +0000 X-Originating-IP: 90.88.150.179 Received: from localhost (aaubervilliers-681-1-31-179.w90-88.abo.wanadoo.fr [90.88.150.179]) (Authenticated sender: maxime.ripard@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 106441BF204; Tue, 12 Mar 2019 08:07:04 +0000 (UTC) Date: Tue, 12 Mar 2019 09:07:04 +0100 From: Maxime Ripard To: Kangjie Lu Subject: Re: [PATCH] net: dwmac-sun8i: fix a missing check of of_get_phy_mode Message-ID: <20190312080704.jjzv62qsrtcje7gd@flea> References: <20190312075040.32115-1-kjlu@umn.edu> MIME-Version: 1.0 In-Reply-To: <20190312075040.32115-1-kjlu@umn.edu> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190312_010718_593678_BD288ADC X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Torgue , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Chen-Yu Tsai , Jose Abreu , Maxime Coquelin , pakki001@umn.edu, Giuseppe Cavallaro , "David S. Miller" , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============2530984261031416599==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2530984261031416599== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mqil5gvgnush4ee5" Content-Disposition: inline --mqil5gvgnush4ee5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 12, 2019 at 02:50:40AM -0500, Kangjie Lu wrote: > of_get_phy_mode may fail and return a negative error code; > the fix checks the return value of of_get_phy_mode and > returns -EINVAL of it fails. >=20 > Signed-off-by: Kangjie Lu Acked-by: Maxime Ripard Thanks! Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --mqil5gvgnush4ee5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXIdoqAAKCRDj7w1vZxhR xcMUAPsGMGKv+6UsUy6tuiVORbIt7imnYRlNhwI6m9mlLPLZfgEA6zrDadYI0wyC 4KgOSMsMnF5zZKMm0854otRXGbEEogQ= =LZgo -----END PGP SIGNATURE----- --mqil5gvgnush4ee5-- --===============2530984261031416599== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2530984261031416599==--