Compile Warnings in 2.1.15

tenthumbs@cybernex.net
Thu, 12 Dec 1996 22:50:12 GMT


In net/ipv4/devinet.c:
devinet.c: In function `devinet_ioctl':
devinet.c:139: warning: implicit declaration of function `dev_load'

The code is:
#ifdef CONFIG_KERNELD
dev_load(ifr.ifr_name);
#endif
but dev_load is not declared in any include file. It's in net/core/dev.c.

In net/ipv4/socket.c
socket.c: In function `sys_recvmsg':
socket.c:1210: warning: `len' might be used uninitialized in this function

Neither one is a big deal.

Thanks.