projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed8366
)
ksz884x: Add missing validate_addr hook
author
Denis Kirjanov
<dkirjanov@hera.kernel.org>
Mon, 31 May 2010 00:26:21 +0000
(
00:26
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 1 Jun 2010 07:24:32 +0000
(
00:24
-0700)
Add missing validate_addr hook
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ksz884x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ksz884x.c
b/drivers/net/ksz884x.c
index 4568b6f163eb647a054891d595ed59b3aec9fd3f..7805bbf1d53a6ceeaf02f8c68f4e3740e2c4939d 100644
(file)
--- a/
drivers/net/ksz884x.c
+++ b/
drivers/net/ksz884x.c
@@
-6863,6
+6863,7
@@
static const struct net_device_ops netdev_ops = {
.ndo_tx_timeout = netdev_tx_timeout,
.ndo_change_mtu = netdev_change_mtu,
.ndo_set_mac_address = netdev_set_mac_address,
+ .ndo_validate_addr = eth_validate_addr,
.ndo_do_ioctl = netdev_ioctl,
.ndo_set_rx_mode = netdev_set_rx_mode,
#ifdef CONFIG_NET_POLL_CONTROLLER