Date: Thu, 11 Nov 1999 22:00:01 -0800 (PST) From: Matthew Jacob <mjacob@feral.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/14836: sys/dev/isp/isp.c compile error Message-ID: <199911120600.WAA61711@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/14836; it has been noted by GNATS.
From: Matthew Jacob <mjacob@feral.com>
To: kondo@ysyslab.co.jp
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/14836: sys/dev/isp/isp.c compile error
Date: Thu, 11 Nov 1999 21:53:36 -0800 (PST)
Ah! Thanks and sorry!
On Thu, 11 Nov 1999 kondo@ysyslab.co.jp wrote:
>
> >Number: 14836
> >Category: kern
> >Synopsis: sys/dev/isp/isp.c compile error
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: freebsd-bugs
> >State: open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class: sw-bug
> >Submitter-Id: current-users
> >Arrival-Date: Thu Nov 11 18:00:01 PST 1999
> >Closed-Date:
> >Last-Modified:
> >Originator: kondo hiroshi
> >Release: RELENG_2_2
> >Organization:
> Yokohama System Laboratory Corp.
> >Environment:
> # uname -a
> FreeBSD shiro.ysyslab.co.jp 2.2-STABLE FreeBSD 2.2-STABLE #0: Thu Nov 11 13:50:09 JST 1999 root@shiro.ysyslab.co.jp:/usr/src/sys/compile/GENSB16 i386
>
> >Description:
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../dev/isp/isp.c
> ../../dev/isp/isp.c: In function `ispscsicmd':
> ../../dev/isp/isp.c:1944: invalid operands to binary ==
> *** Error code 1
>
> >How-To-Repeat:
> cd /usr/src/release
> make release.3
>
> >Fix:
> # cvs diff -r RELENG_2_2 isp.c
> Index: isp.c
> ===================================================================
> RCS file: /usr/CVS-Repository/src/sys/dev/isp/isp.c,v
> retrieving revision 1.21.2.7
> diff -u -r1.21.2.7 isp.c
> --- isp.c 1999/10/28 02:51:34 1.21.2.7
> +++ isp.c 1999/11/12 01:18:00
> @@ -1941,7 +1941,7 @@
> if (XS_CANTAG(xs)) {
> t2reqp->req_flags = XS_KINDOF_TAG(xs);
> } else {
> - if (XS_CDBP(xs)[0] == 0x3) /* REQUEST SENSE */
> + if (XS_CDBP(xs)->opcode == 0x3) /* REQUEST SENSE */
> t2reqp->req_flags = REQFLAG_HTAG;
> else
> t2reqp->req_flags = REQFLAG_OTAG;
>
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-bugs" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911120600.WAA61711>
