From: Andrew Morton net/core/sock.c: In function `proto_register': net/core/sock.c:1477: warning: `timewait_sock_slab_name' might be used uninitialized in this function Cc: Pravin B. Shelar Cc: Ravikiran Thirumalai Cc: Shai Fultheim Signed-off-by: Andrew Morton --- net/core/sock.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN net/core/sock.c~per-cpufy-net-proto-structures-protoinuse-fix net/core/sock.c --- devel/net/core/sock.c~per-cpufy-net-proto-structures-protoinuse-fix 2006-03-11 02:47:00.000000000 -0800 +++ devel-akpm/net/core/sock.c 2006-03-11 02:47:00.000000000 -0800 @@ -1513,7 +1513,7 @@ static LIST_HEAD(proto_list); int proto_register(struct proto *prot, int alloc_slab) { char *request_sock_slab_name = NULL; - char *timewait_sock_slab_name; + char *timewait_sock_slab_name = NULL; int rc = -ENOBUFS; if (alloc_slab) { _