linux/net
David S. Miller 000ba2e43f net: Fix build warning in sock_bindtodevice().
net/core/sock.c: In function 'sock_setsockopt':
net/core/sock.c:396: warning: 'index' may be used uninitialized in this function
net/core/sock.c:396: note: 'index' was declared here

GCC can't see that all paths initialize index, so just
set it to the default (0) and eliminate the specific
code block that handles the null device name string.

Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-05 22:37:11 -08:00
..
9p virtio: add virtio IDs file 2009-09-23 22:26:32 +09:30
802 net: remove COMPAT_NET_DEV_OPS 2009-05-25 01:53:53 -07:00
8021q vlan: cleanup multiple unregistrations 2009-10-29 23:43:00 -07:00
appletalk net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
atm net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
ax25 net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
bluetooth net: check kern before calling security subsystem 2009-11-05 22:18:18 -08:00
bridge bridge: remove dev_put() in add_del_if() 2009-11-05 22:34:16 -08:00
can net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
core net: Fix build warning in sock_bindtodevice(). 2009-11-05 22:37:11 -08:00
dcb net: fix double skb free in dcbnl 2009-09-26 20:16:15 -07:00
dccp net: drop capability from protocol definitions 2009-11-05 21:40:17 -08:00
decnet net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
dsa netdev: convert pseudo-devices to netdev_tx_t 2009-09-01 01:13:07 -07:00
econet net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
ethernet net: remove COMPAT_NET_DEV_OPS 2009-05-25 01:53:53 -07:00
ieee802154 net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
ipv4 ip_frag: dont touch device refcount 2009-11-05 22:34:22 -08:00
ipv6 ip_frag: dont touch device refcount 2009-11-05 22:34:22 -08:00
ipx net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
irda net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
iucv net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
key net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
lapb net: remove NET_RX_BAD and NET_RX_CN* defines 2009-07-05 19:15:35 -07:00
llc net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
mac80211 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-10-29 21:28:59 -07:00
netfilter inet: rename some inet_sock fields 2009-10-18 18:52:53 -07:00
netlabel netlabel: remove dev_put() calls 2009-11-05 22:34:18 -08:00
netlink net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
netrom net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
packet net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
phonet net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
rds net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
rfkill headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
rose net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
rxrpc net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
sched net_cls: Use __dev_get_by_index() 2009-11-05 22:34:21 -08:00
sctp sctp: ipv6: avoid touching device refcount 2009-11-05 22:34:21 -08:00
sunrpc inet: rename some inet_sock fields 2009-10-18 18:52:53 -07:00
tipc net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
unix net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
wanrouter headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
wimax wimax: fix warning caused by not checking retval of rfkill_set_hw_state() 2009-06-11 11:12:48 -07:00
wireless Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-10-29 21:28:59 -07:00
x25 net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
xfrm xfrm: remove skb_icv_walk 2009-10-18 21:32:01 -07:00
compat.c net: Cleanup redundant tests on unsigned 2009-10-29 01:39:54 -07:00
Kconfig net/compat/wext: send different messages to compat tasks 2009-07-15 08:53:39 -07:00
Makefile net: remove redundant sched/ in net/Makefile 2009-07-12 20:11:14 -07:00
nonet.c
socket.c net: pass kern to net_proto_family create function 2009-11-05 22:18:14 -08:00
sysctl_net.c net: sysctl_net - use net_eq to compare nets 2009-03-16 16:23:30 +01:00
TUNABLE