From owner-cvs-all@FreeBSD.ORG Wed Apr 30 22:16:14 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE53737B401; Wed, 30 Apr 2003 22:16:14 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E65743FAF; Wed, 30 Apr 2003 22:16:14 -0700 (PDT) (envelope-from ken@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h415GE0U013755; Wed, 30 Apr 2003 22:16:14 -0700 (PDT) (envelope-from ken@repoman.freebsd.org) Received: (from ken@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h415GEnQ013749; Wed, 30 Apr 2003 22:16:14 -0700 (PDT) Message-Id: <200305010516.h415GEnQ013749@repoman.freebsd.org> From: "Kenneth D. Merry" Date: Wed, 30 Apr 2003 22:16:14 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/cam/scsi scsi_da.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 05:16:15 -0000 ken 2003/04/30 22:16:14 PDT FreeBSD src repository Modified files: sys/cam/scsi scsi_da.c Log: Fix compile errors on ia64 in dagetcapacity. Set block_len and maxsector to 0 initially. It seems that the ia64 backend isn't as "smart" as the i386 backend, which realized that those variables were only set or used when error == 0, and thus were not used uninitialized. Revision Changes Path 1.141 +2 -0 src/sys/cam/scsi/scsi_da.c