From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938978AbcISN2e (ORCPT ); Mon, 19 Sep 2016 09:28:34 -0400 Received: from nbd.name ([46.4.11.11]:51007 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935947AbcISN2P (ORCPT ); Mon, 19 Sep 2016 09:28:15 -0400 From: John Crispin To: "David S. Miller" , Andrew Lunn , Florian Fainelli Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, John Crispin Subject: [PATCH 0/4] net-next: dsa: set_addr should be optional Date: Mon, 19 Sep 2016 15:27:59 +0200 Message-Id: <1474291683-44167-1-git-send-email-john@phrozen.org> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Marvell driver is the only one that actually sets the switches HW address. All other drivers have an empty stub. fix this by making the callback optional. John Crispin (4): net-next: dsa: fix duplicate invocation of set_addr() net-next: dsa: make the set_addr() operation optional net-next: dsa: b53: remove empty set_addr() stub net-next: dsa: qca8k: remove empty set_addr() stub drivers/net/dsa/b53/b53_common.c | 6 ------ drivers/net/dsa/qca8k.c | 8 -------- net/dsa/dsa.c | 8 +++++--- net/dsa/dsa2.c | 12 +++++------- 4 files changed, 10 insertions(+), 24 deletions(-) -- 1.7.10.4