Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3770908imm; Mon, 25 Jun 2018 04:27:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIzH3k4bTvmGI/7RdB3eLzAypPvneiKXf0WOrYybWFaPbKBHo4O/C1JArbBQ71ASEg8SJsl X-Received: by 2002:a63:3201:: with SMTP id y1-v6mr10575728pgy.419.1529926074645; Mon, 25 Jun 2018 04:27:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529926074; cv=none; d=google.com; s=arc-20160816; b=UiqOJt9a2e/bxtQtRfbaOK/yUHwihFBvNK0Q8SB82E+IHbtBy5DdFJHDJ2c6f5q+EZ bpIeSxkhSTUjkNdIEghJvwxH/b5A9hdgcsQ0SkAoKdLMvolGGM/8vaTypYg8bKRFVYjd U/LWWskIj9yg3sgc4/+Kk3bTzx7ThYmIAmrPa9l27TGiqF6mhhpNczMOcae19wIDdwPg 9reoEzfqskJBn3uAg09QljjSAx/x14xITpzBKetldO5N74UsgOEXlREZdJUpL+IUFYm5 xhkiIPnODB23A1ZE+fXPxE1wLwr9XdWYeIuHQcb9/+SmVf81cLxhX4Tt6HEBSrL7UqUB /j5Q== 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-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=X3Bc6sIj1KRY4htN8yYKyL91dHRmg0L+/+LBt69shz4=; b=kBJrFTur1dwEIYBR0Ik+cmTlhiumN2sd2iFMp7I+tsw7NYTEJfRUkHnr6gCFO86l9y Jvhv5nq+qYodu3siZN9pCsiL3JK8TcWbC0BKG5LtdCG80+ERd0rgRpqXGdcSEuY/yyr/ 6M4mtMQOBV2KOdt76j0CXW27X0fvq0SF1tVIFmzMEdhyqI/J6J9nKrX+S1oViGahIKtF Q9xbqLYiAbVzstrPCPuogziYBpedr8F1djSDDIWatm1JQ6Tro3jAC+ghUX9uAV4VDiDf z1tbsFj5Jms+vGaBXttJbCWMfrc+IJ7BY8tv9HZ3ev9Seqb0+KCciVuKbtrwkt0UgXHN fjkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector1 header.b=SOzV3B+H; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8-v6si11349644pgs.211.2018.06.25.04.27.40; Mon, 25 Jun 2018 04:27:54 -0700 (PDT) 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=pass header.i=@toradex.com header.s=selector1 header.b=SOzV3B+H; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755327AbeFYL1D (ORCPT + 99 others); Mon, 25 Jun 2018 07:27:03 -0400 Received: from mail-he1eur01on0097.outbound.protection.outlook.com ([104.47.0.97]:64416 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932089AbeFYL1B (ORCPT ); Mon, 25 Jun 2018 07:27:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X3Bc6sIj1KRY4htN8yYKyL91dHRmg0L+/+LBt69shz4=; b=SOzV3B+Hjt11WoNlmD3niZCLbzxW+eBwskQrTTDWy7gYHMFJq8EAykAM0ox0x3IL2HgLLxxPofYgbR2mkzA0lcc9qoBoyC0obXbsIsVT/IVWc6Z/fDUJd4+NHtPX1lF51q+XsMIFP5eASRXUnPCBDsL3G1NkK9GM1Hchb5XoL68= Received: from VI1PR0501MB2590.eurprd05.prod.outlook.com (10.168.137.14) by VI1PR0501MB1982.eurprd05.prod.outlook.com (10.166.45.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.24; Mon, 25 Jun 2018 11:26:50 +0000 Received: from VI1PR0501MB2590.eurprd05.prod.outlook.com ([fe80::5570:f225:bd5b:1aa3]) by VI1PR0501MB2590.eurprd05.prod.outlook.com ([fe80::5570:f225:bd5b:1aa3%9]) with mapi id 15.20.0884.023; Mon, 25 Jun 2018 11:26:49 +0000 From: Marcel Ziswiler To: "davem@davemloft.net" CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Dean_Jenkins@mentor.com" , "andreyknvl@google.com" , "oneukum@suse.com" , "linux-usb@vger.kernel.org" Subject: Re: [PATCH] net: usb: asix: allow optionally getting mac address from device tree Thread-Topic: [PATCH] net: usb: asix: allow optionally getting mac address from device tree Thread-Index: AQHUDFrD9SOlWe/HGkGEZAlascIgqKRw1hkA Date: Mon, 25 Jun 2018 11:26:49 +0000 Message-ID: <1529926008.12558.14.camel@toradex.com> References: <20180625080108.32441-1-marcel@ziswiler.com> In-Reply-To: <20180625080108.32441-1-marcel@ziswiler.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=marcel.ziswiler@toradex.com; x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0501MB1982;7:/ml1wrY9H8LvvwFzbtwSjJSvhZ57I3IDZceLyetyVyKwY1R+ymppZYXTX0xLgTir60zGZ83sjp/X4OSYtUKrjJYgtRPrSEp6qexR1c9l12Nf+X1tLkJxb16ppfUmIHQ/K9HjlzppQVkauP7do/DuYIoViXVQINfnRHdWQJWlJ9gbeWqCHz09XdpMEubiwcDPd3EIhZ+p/82DmKYsjUlaVMoz18j8iAGPCoXhHalOK0Xjkja0+/GlrJpYCtXzOsD8 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 77cb8106-1630-494f-d355-08d5da8e8b42 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(2017052603328)(7153060)(7193020);SRVR:VI1PR0501MB1982; x-ms-traffictypediagnostic: VI1PR0501MB1982: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016);SRVR:VI1PR0501MB1982;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0501MB1982; x-forefront-prvs: 0714841678 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39380400002)(396003)(39840400004)(346002)(376002)(189003)(199004)(6116002)(3846002)(305945005)(486006)(478600001)(68736007)(44832011)(14454004)(2616005)(8936002)(8676002)(476003)(6436002)(2906002)(4326008)(99286004)(106356001)(105586002)(7736002)(2501003)(5250100002)(11346002)(446003)(5660300001)(86362001)(97736004)(2351001)(2900100001)(26005)(186003)(25786009)(36756003)(3660700001)(102836004)(316002)(54906003)(103116003)(6486002)(66066001)(81166006)(6512007)(81156014)(6246003)(1730700003)(76176011)(3280700002)(53936002)(6916009)(229853002)(5640700003)(6506007);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0501MB1982;H:VI1PR0501MB2590.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: mecLpEhUmgGZpT736KDZch8T39fgf2n+6FgW9zGmtO+Y+z5MWUEYcOPeO+nIJKvDd4k+jGEDMCRjhVlughWlZdFiJRXLZQoxStQ8zZy7E3CpETcHxCsIcbDmeU9VMRyPTRcwgpUAOTImYVACK2NNIbA9OJRvlWcVA87b5EB+JY4nQR0zTTxrakofz6f9nNnJGUvSql1WLq3Zoxa4lv/ko9LRAOFINqFMNqFunsQl8cxfP5yPkS/aAQ6t85pPKyt2wTwdjKkV+ZXbtqQbJW8ehZrF1LOMpG80dxOs3unkuBwRi6fha0XC7UOAxa+PTK7R/gTt5XVlwg/U8ZvwIHLDdJbpgFM4+0IBKtmfZwhnx/I= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 77cb8106-1630-494f-d355-08d5da8e8b42 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2018 11:26:49.8323 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB1982 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRGF2aWQNCg0KT24gTW9uLCAyMDE4LTA2LTI1IGF0IDEwOjAxICswMjAwLCBNYXJjZWwgWmlz d2lsZXIg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