Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932219Ab2BXQB5 (ORCPT ); Fri, 24 Feb 2012 11:01:57 -0500 Received: from wp188.webpack.hosteurope.de ([80.237.132.195]:53250 "EHLO wp188.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757726Ab2BXQBt (ORCPT ); Fri, 24 Feb 2012 11:01:49 -0500 From: Danny Kukawka To: "David S. Miller" , Andy Gospodarek , Guo-Fu Tseng , Petko Manolov , "VMware, Inc." , "John W. Linville" , linux390@de.ibm.com, Mauro Carvalho Chehab Cc: Danny Kukawka , Stephen Hemminger , Joe Perches , Jeff Kirsher , Jiri Pirko , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, libertas-dev@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-s390@vger.kernel.org, linux-hams@vger.kernel.org, linux-mips@linux-mips.org Subject: [PATCH 00/12] Part 2: check given MAC address, if invalid return -EADDRNOTAVAIL Date: Fri, 24 Feb 2012 17:01:10 +0100 Message-Id: <1330099282-4588-1-git-send-email-danny.kukawka@bisect.de> X-Mailer: git-send-email 1.7.8.3 X-bounce-key: webpack.hosteurope.de;danny.kukawka@bisect.de;1330099309;27020129; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3520 Lines: 69 Second Part of series patches to unifiy the return value of .ndo_set_mac_address if the given address isn't valid. These changes check if a given (MAC) address is valid in .ndo_set_mac_address, if invalid return -EADDRNOTAVAIL as eth_mac_addr() already does if is_valid_ether_addr() fails. These patches are against net-next. Danny Kukawka (12): ethernet: .ndo_set_mac_address: check given address, if invalid return -EADDRNOTAVAIL cris/eth_v10: check given MAC address, if invalid return -EADDRNOTAVAIL dvb_net: check given MAC address, if invalid return -EADDRNOTAVAIL fddi/skfp: check given MAC address, if invalid return -EADDRNOTAVAIL team: check given MAC address, if invalid return -EADDRNOTAVAIL tokenring: check given MAC address, if invalid return -EADDRNOTAVAIL usb/rtl8150: check given MAC address, if invalid return -EADDRNOTAVAIL vmxnet3: check given MAC address, if invalid return -EADDRNOTAVAIL wan/lapbether: check given MAC address, if invalid return -EADDRNOTAVAIL wireless: check given MAC address, if invalid return -EADDRNOTAVAIL s390/net/qeth_l2_main: check given MAC address, if invalid return -EADDRNOTAVAIL rose: check given MAC address, if invalid return -EADDRNOTAVAIL drivers/media/dvb/dvb-core/dvb_net.c | 5 ++++- drivers/net/cris/eth_v10.c | 3 +++ drivers/net/ethernet/amd/amd8111e.c | 3 +++ drivers/net/ethernet/amd/atarilance.c | 3 +++ drivers/net/ethernet/chelsio/cxgb/cxgb2.c | 3 +++ drivers/net/ethernet/cisco/enic/enic_main.c | 3 +++ drivers/net/ethernet/freescale/fec_mpc52xx.c | 3 +++ drivers/net/ethernet/jme.c | 3 +++ drivers/net/ethernet/micrel/ks8851_mll.c | 3 +++ drivers/net/ethernet/micrel/ksz884x.c | 3 +++ drivers/net/ethernet/seeq/sgiseeq.c | 3 +++ drivers/net/ethernet/sgi/ioc3-eth.c | 3 +++ drivers/net/ethernet/tehuti/tehuti.c | 3 +++ drivers/net/fddi/skfp/skfddi.c | 3 +++ drivers/net/team/team.c | 3 +++ drivers/net/tokenring/3c359.c | 4 ++++ drivers/net/tokenring/lanstreamer.c | 4 ++++ drivers/net/tokenring/olympic.c | 4 ++++ drivers/net/tokenring/tms380tr.c | 3 +++ drivers/net/usb/rtl8150.c | 3 +++ drivers/net/vmxnet3/vmxnet3_drv.c | 3 +++ drivers/net/wan/lapbether.c | 5 +++++ drivers/net/wireless/airo.c | 3 +++ drivers/net/wireless/atmel.c | 3 +++ .../net/wireless/brcm80211/brcmfmac/dhd_linux.c | 5 ++++- drivers/net/wireless/hostap/hostap_main.c | 3 +++ drivers/net/wireless/libertas/main.c | 3 +++ drivers/net/wireless/mwifiex/main.c | 3 +++ drivers/net/wireless/zd1201.c | 2 ++ drivers/s390/net/qeth_l2_main.c | 3 +++ net/rose/rose_dev.c | 3 +++ 31 files changed, 99 insertions(+), 2 deletions(-) -- 1.7.8.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/