Re: BusLogic Compile Time Warnings on 2.1.97

Leonard N. Zubkoff (lnz@dandelion.com)
Mon, 20 Apr 1998 15:24:08 -0700


From: Chris Fisher <chrisf@shadow.net>
Date: Mon, 20 Apr 1998 15:54:43 -0400 (EDT)

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -mpentium -march=pentium
-mcpu=pentium -fno-risc -malign-loops=6 -malign-jumps=6
-malign-functions=6 -DCPU=586 -c -o BusLogic.o BusLogic.c
BusLogic.h: In function `BusLogic_AcquireHostAdapterLockIH':
In file included from BusLogic.c:51:
BusLogic.h:1535: warning: unused variable `io_request_lock'
BusLogic.h: In function `BusLogic_ReleaseHostAdapterLockIH':
BusLogic.h:1549: warning: unused variable `io_request_lock'

Hmmm. Looks like I need to check the non-SMP case, since that warning didn't
appear with an SMP compilation. Thanks for the report.

Leonard

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu