Message ID | 20171213015455.6455-12-alexander.levin@verizon.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4934616qgn; Tue, 12 Dec 2017 19:03:28 -0800 (PST) X-Google-Smtp-Source: ACJfBovcbzQdPjrL+beApKafK9mhc70HVq9Qx0gjqNF/OpuI0/+ZBRF1wf3+XlomgzRXA4mqIN7E X-Received: by 10.99.126.6 with SMTP id z6mr3931243pgc.126.1513134208599; Tue, 12 Dec 2017 19:03:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513134208; cv=none; d=google.com; s=arc-20160816; b=s8P8UqrqcAwS2AtRSgmQ5Sxi/qNNcOOqOOi/oHB8gYFBpZFE0XbR7/dFGORncMjDqe yi8ZkQcbTsHPuZopRF4UWTHy0Euto/juOWKT4sLEneNfWAXq70CMtT88V73sK4mqj53W Z7egNrO9LQZkI2nvwYZV3UfYd9jHINr2OL03xvtGMxBf+iUxMSVYVuxawAzxdLTbKoOh a8S+lcHoo7fgGjHW7tfU3mZUxStcMSYUosR0hVrmPDOJawT/fp6P+O/wplrk1E9fjyy0 aWL14vy/ApDNf8Qh0icqWJOQLsy8fdn1uNiiCtHLJNEBxTwYeZgiqpAojWzBoWW0xu2i TkGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:cc:from:dkim-signature :dkim-signature:dkim-signature:arc-authentication-results; bh=RtkOcttABZCU9QuOFGrek9JFMyhPseY0Y6rDtuOqodc=; b=J6VxjYjYj6uFcA4B4JsbggzbR9P5V/FBc+IFUCNAa0xNI2lD8BwztCnjUj1CaLqlbB +d1gKyLRSuYlMFg/AqxlSuPIjgugC/K1iIIteddXvSYEKVdsO4J2zsUe++4JNYIMZOdD LRZ6ZQHA3K3AcDQCvM0mWLKANsWe8MLJyW/GCQJpAyKlVVFupecI2tzFfapr8xx6QcRe 2i7M1X1tsDhHfQCF4KRNvjpYTgWzv2Oibc4XzebJN6pAsl4z+GgNTwgZWUnHqMcxqc8b ZVI1e/tewfqt6uHUexrqOqaNwfW9JCslfqSccGKf8zNbsBknPCK+pdPaRNnXwsLCjOgI 4Vug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verizon.com header.s=corp header.b=ZR3bTPSQ; dkim=fail header.i=@verizon.com header.s=corp header.b=idpu1EVZ; dkim=fail header.i=@verizon.com header.s=corp header.b=GrCdHzmk; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=verizon.com Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si483977pgn.374.2017.12.12.19.03.28; Tue, 12 Dec 2017 19:03:28 -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; dkim=fail header.i=@verizon.com header.s=corp header.b=ZR3bTPSQ; dkim=fail header.i=@verizon.com header.s=corp header.b=idpu1EVZ; dkim=fail header.i=@verizon.com header.s=corp header.b=GrCdHzmk; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=verizon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753477AbdLMDDZ (ORCPT <rfc822;patch@linaro.org> + 10 others); Tue, 12 Dec 2017 22:03:25 -0500 Received: from omzsmtpe01.verizonbusiness.com ([199.249.25.210]:43024 "EHLO omzsmtpe01.verizonbusiness.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbdLMBzp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 12 Dec 2017 20:55:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1513130145; x=1544666145; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=waymeNnu5QxL5QcIjZQwUPFP823tXe/6ZeKai9WauM8=; b=ZR3bTPSQoVYbbQJ0amOK31hkBHmHCZQEVfVnlVZwLR5j2AuwjFPN+VkI 02OFQkmqqQ/Q6SRXTNN7RQw4QoUtIOR7cHJsWGJLdgdV3F4Y8rtZ5Vc9G IOsl6YAb2l48QLfc0d8gYlzBGmGxtPOXlkyMBSdRjwUy3umvabJPHXkHV Q=; Received: from unknown (HELO fldsmtpi01.verizon.com) ([166.68.71.143]) by omzsmtpe01.verizonbusiness.com with ESMTP; 13 Dec 2017 01:55:39 +0000 Received: from rogue-10-255-192-101.rogue.vzwcorp.com (HELO atlantis.verizonwireless.com) ([10.255.192.101]) by fldsmtpi01.verizon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Dec 2017 01:55:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1513130119; x=1544666119; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=waymeNnu5QxL5QcIjZQwUPFP823tXe/6ZeKai9WauM8=; b=idpu1EVZY5TB5seJSp/Uo6ZZea2GEnmWjL4QMP+28AyoN1Br8d37Fo4o ulJNd4Sk5h38pl+z+1EMS1zoPXlNxRqFzAI9YHrzLqmiAa3feepABLiAu qqcE4NPmKj5BvgYTCEXN9rPsV/GvWsL8+ZdPgvPRfdlTcTz2q6MDwdgLc 4=; Received: from surveyor.tdc.vzwcorp.com (HELO eris.verizonwireless.com) ([10.254.88.83]) by atlantis.verizonwireless.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Dec 2017 20:55:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1513130119; x=1544666119; h=to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:from:cc; bh=waymeNnu5QxL5QcIjZQwUPFP823tXe/6ZeKai9WauM8=; b=GrCdHzmkr2G+EmpCjYyJAd21sIg/Ny/bKrsnmlJG+EbnREYLlpc9VhAx eqWV8GKQPmFjnQn2B6/Veq1YqZXSmJHogzXsNE+MS58Tgz81dCOBS0cCz nBq2DkeQU/oa3KF3l3l6n8/czMQj2ty+S69ksYZ4PMgqqv8QTw+tSjmg7 E=; From: alexander.levin@verizon.com Cc: Dan Murphy <dmurphy@ti.com>, "David S . Miller" <davem@davemloft.net>, alexander.levin@verizon.com X-Host: surveyor.tdc.vzwcorp.com Received: from ohtwi1exh002.uswin.ad.vzwcorp.com ([10.144.218.44]) by eris.verizonwireless.com with ESMTP/TLS/AES128-SHA256; 13 Dec 2017 01:55:19 +0000 Received: from tbwexch22apd.uswin.ad.vzwcorp.com (153.114.162.46) by OHTWI1EXH002.uswin.ad.vzwcorp.com (10.144.218.44) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 12 Dec 2017 20:55:19 -0500 Received: from OMZP1LUMXCA19.uswin.ad.vzwcorp.com (144.8.22.197) by tbwexch22apd.uswin.ad.vzwcorp.com (153.114.162.46) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 12 Dec 2017 20:55:18 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by OMZP1LUMXCA19.uswin.ad.vzwcorp.com (144.8.22.197) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 12 Dec 2017 19:55:17 -0600 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) with mapi id 15.00.1263.000; Tue, 12 Dec 2017 19:55:17 -0600 To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "stable@vger.kernel.org" <stable@vger.kernel.org> Subject: [PATCH AUTOSEL for 4.14 12/60] net: phy: at803x: Change error to EINVAL for invalid MAC Thread-Topic: [PATCH AUTOSEL for 4.14 12/60] net: phy: at803x: Change error to EINVAL for invalid MAC Thread-Index: AQHTc7VqAVbUsTO/VkOT1v8xfUKWdQ== Date: Wed, 13 Dec 2017 01:55:13 +0000 Message-ID: <20171213015455.6455-12-alexander.levin@verizon.com> References: <20171213015455.6455-1-alexander.levin@verizon.com> In-Reply-To: <20171213015455.6455-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index c1e52b9dc58d..5f93e6add563 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -167,7 +167,7 @@ static int at803x_set_wol(struct phy_device *phydev, mac = (const u8 *) ndev->dev_addr; if (!is_valid_ether_addr(mac)) - return -EFAULT; + return -EINVAL; for (i = 0; i < 3; i++) { phy_write(phydev, AT803X_MMD_ACCESS_CONTROL,