NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47646: Test dev/scsipi/t_cd:noisyeject broken

The following reply was made to PR kern/47646; it has been noted by GNATS.

From: Manuel Bouyer <>
To: Martin Husemann <>
Cc:, Antti Kantee <>
Subject: Re: kern/47646: Test dev/scsipi/t_cd:noisyeject broken
Date: Fri, 15 Mar 2013 15:54:03 +0100

 On Fri, Mar 15, 2013 at 12:08:53PM +0100, Martin Husemann wrote:
 > Is there some easy way (easier than allocating a temporary buf) to get
 > the residual here? If so we should test that and make sure we got enough
 > of an answer to be meaningfull.
 > I propose the attached patch to fix this the issue in two, unrelated ways.
 I think the problem comes from the emulator, which doesn't return the
 mandatory feature header. But zeroing out the buffer before the
 command, and sanity-checking the result is probably good to have anyway.
 Manuel Bouyer <>
      NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index