Date: Sun, 21 Sep 2003 23:30:11 +1000 From: Andrew Snow <als@kanji.com.au> To: Clive Lin <clive@tongi.org> Cc: freebsd-scsi@freebsd.org Subject: Re: ibm x345 w/ serveraid-5i + freebsd ips driver dramas Message-ID: <3F6DA7E3.5040709@kanji.com.au> In-Reply-To: <20030921130539.GA64930@fatpipi.cirx.org> References: <3F64E50E.2040608@kanji.com.au> <20030921130539.GA64930@fatpipi.cirx.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> sys/dev/ips/ips_disk.c > - dsc->ipsd_disk.d_mediasize = totalsectors * IPS_BLKSIZE; > + dsc->ipsd_disk.d_mediasize = (long long) totalsectors * IPS_BLKSIZE; Argh :-) I stared at those lines for so long, and that solution never occured to me. I suggest that (off_t) would be the correct cast for all platforms. Thank you, and I wonder if this patch can be confirmed by scottl and applied to the next release of FreeBSD 5? - Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F6DA7E3.5040709>