From owner-freebsd-bugs Thu Nov 11 18: 0: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9307114E41 for ; Thu, 11 Nov 1999 18:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA30372; Thu, 11 Nov 1999 18:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 8492A14C06; Thu, 11 Nov 1999 17:53:04 -0800 (PST) Message-Id: <19991112015304.8492A14C06@hub.freebsd.org> Date: Thu, 11 Nov 1999 17:53:04 -0800 (PST) From: kondo@ysyslab.co.jp To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/14836: sys/dev/isp/isp.c compile error Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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