]> git.karo-electronics.de Git - linux-beck.git/commit
[PATCH] netdev: don't allow register_netdev with blank name
authorStephen Hemminger <shemminger@osdl.org>
Fri, 17 Nov 2006 21:41:58 +0000 (13:41 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:16:37 +0000 (00:16 -0500)
commit88041b79f864dcd7f95e1d594eba683244dd968a
treedddb140e2f6e3526ba43630956e5f9e3e2187ea3
parent5ac366152a44da60c22c08df619012b1e3bc1adb
[PATCH] netdev: don't allow register_netdev with blank name

This bit of old backwards compatibility cruft can be removed in 2.6.20.
If there is still an device that calls register_netdev()
with a zero or blank name, it will get -EINVAL from register_netdevice().

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
net/core/dev.c