NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52814: WD_SOFTBADSECT option cause build error
The following reply was made to PR kern/52814; it has been noted by GNATS.
From: Takahiro Kambe <taca%back-street.net@localhost>
To: gnats-bugs%NetBSD.org@localhost, paul%whooppee.com@localhost
Cc:
Subject: Re: kern/52814: WD_SOFTBADSECT option cause build error
Date: Wed, 13 Dec 2017 16:51:49 +0900 (JST)
In message <20171213073001.5E64D7A1FF%mollari.NetBSD.org@localhost>
on Wed, 13 Dec 2017 07:30:01 +0000 (UTC),
Paul Goyette <paul%whooppee.com@localhost> wrote:
> Looks like (based on WD_SOFTBADSECT code elsewhere), the sc in this
> block should really be the wdsc.
>
> Perhaps try the following?
It is not enough to fix below error.
>> /usr/src/sys/dev/ata/wd.c: In function 'wdstrategy':
>> /usr/src/sys/dev/ata/wd.c:589:20: error: 'blkno' undeclared (first use in this function)
>> daddr_t maxblk = blkno + (bp->b_bcount / wd->sc_blksize) - 1;
--
Takahiro Kambe <taca%back-street.net@localhost>
Home |
Main Index |
Thread Index |
Old Index