Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752659AbdIBJHS (ORCPT ); Sat, 2 Sep 2017 05:07:18 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:46057 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750936AbdIBJHO (ORCPT ); Sat, 2 Sep 2017 05:07:14 -0400 From: Antoine Tenart To: davem@davemloft.net Cc: Antoine Tenart , andrew@lunn.ch, gregory.clement@free-electrons.com, thomas.petazzoni@free-electrons.com, nadavh@marvell.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, mw@semihalf.com, stefanc@marvell.com, netdev@vger.kernel.org Subject: [PATCH net-next v3 0/3] net: mvpp2: improve the mac address retrieval logic Date: Sat, 2 Sep 2017 11:06:46 +0200 Message-Id: <20170902090649.28426-1-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.13.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 772 Lines: 27 Hi all, This series aims at fixing the logic behind the MAC address retrieval in the PPv2 driver. A possible issue is also fixed in patch 3/3 to introduce fallbacks when the address given in the device tree isn't valid. Thanks! Antoine Since v2: - Patch 1/4 from v2 was applied on net (and net was merged in net-next). - Rebased on net-next. Since v1: - Rebased onto net (was on net-next). Antoine Tenart (3): net: mvpp2: move the mac retrieval/copy logic into its own function net: mvpp2: fix use of the random mac address for PPv2.2 net: mvpp2: fallback using h/w and random mac if the dt one isn't valid drivers/net/ethernet/marvell/mvpp2.c | 48 ++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 18 deletions(-) -- 2.13.5