Date: Wed, 30 Apr 2003 17:12:35 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: scsi@FreeBSD.org Subject: [patch] Fix for ia64 tinderbox failure Message-ID: <20030501001235.GA932@athlon.pn.xcllnt.net>
index | next in thread | raw e-mail
[-- Attachment #1 --] Gang, Please review the attached patch to fix the "variable may be used uninitialized" warning (and thus build failure) on ia64. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net [-- Attachment #2 --] Index: scsi_da.c =================================================================== RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v retrieving revision 1.140 diff -u -r1.140 scsi_da.c --- scsi_da.c 30 Apr 2003 13:36:51 -0000 1.140 +++ scsi_da.c 1 May 2003 00:07:59 -0000 @@ -1821,7 +1821,7 @@ if (maxsector != 0xffffffff) goto done; } else - goto done; + goto fail; rcaplong = (struct scsi_read_capacity_data_long *)rcap; @@ -1858,6 +1858,8 @@ if (error == 0) dasetgeom(periph, block_len, maxsector); + +fail: xpt_release_ccb(ccb);help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501001235.GA932>
