Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 14:39:35 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        scsi@FreeBSD.ORG
Subject:   Re: Warning fixes in cam
Message-ID:  <XFMail.010123143935.jhb@FreeBSD.org>
In-Reply-To: <Pine.LNX.4.21.0101231436020.9839-100000@zeppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23-Jan-01 Matthew Jacob wrote:
> 
> They look okay to me, but why again exactly are you doing them?

make scsi_low.o
cc -c -O -pipe -mcpu=i686 -march=i686 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-nostdinc -I-  -I. -I../.. -I../../dev -I../../../include
-I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include
opt_global.h -elf  -mpreferred-stack-boundary=2 
../../cam/scsi/scsi_low.c
../../cam/scsi/scsi_low.c: In function `scsi_low_attach':
../../cam/scsi/scsi_low.c:545: warning: passing arg 3 of
`cam_sim_alloc' discards qualifiers from pointer target type
../../cam/scsi/scsi_low.c: In function `scsi_low_synch':
../../cam/scsi/scsi_low.c:2086: warning: unused variable `speed'

Just warning police. 

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010123143935.jhb>