1.3.68: compiler warnings

Ulrich Windl (windl@rkdvmhp1.dvm.klinik.uni-regensburg.de)
Tue, 27 Feb 1996 09:18:14 +0100 (MEZ)


While compiling 1.3.68:

ll_rw_blk.c: In function `blk_dev_init':
ll_rw_blk.c:612: warning: implicit declaration of function `loop_init'

The source part is

#ifdef CONFIG_BLK_DEV_LOOP
loop_init();
#endif

Maybe a include file is missing here.

net/core:
sock.c: In function `sock_alloc_send_skb':
sock.c:523: warning: unsigned value < 0 is always 0

Source:
if (sk->wmem_alloc < 0)
printk("sock.c: Look where I am %ld<%ld\n", tm
sk->socket->flags &= ~SO_NOSPACE;

arch/i386/kernel: (processor type 486)
time.c:35: warning: `do_fast_gettimeoffset' defined but not used
time.c:278: warning: `pentium_timer_interrupt' defined but not used