Current-Users archive

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

Re: sys/dev/scsipi/scsipi_base.c




To: current-users%netbsd.org@localhost

Subject: Re: sys/dev/scsipi/scsipi_base.c

From: jnemeth%victoria.tc.ca@localhost (John Nemeth)

Date: Sun, 6 Jan 2008 16:33:31 -0800


On May 29,  6:32pm, Manuel Bouyer wrote:
} On Sun, Jan 06, 2008 at 02:36:32PM -0800, John Nemeth wrote:
} > } A "gratuitous padding" here would break anyway, as this structure is
} > } filled in by hardware (it's what's returned by a device to an INQUIRY
} > } command).
} > 
} >      The hardware returns a sequence of bytes not a struct.
} 
} Yes of course. And if padding is introduced in this structure, the fields
} will point to the wrong place in the sequence of bytes.

     Not if one were to copy the sequences into the appropriate fields
individually.  However, as has been pointed out, in practice, this is
highly unlikely to matter.

}-- End of excerpt from Manuel Bouyer





Prev by Date: triweekly CVS update output

Next by Date: Re: wm(4) issues with 4.99.48

Previous by Thread: Re: sys/dev/scsipi/scsipi_base.c

Next by Thread: wm(4) issues with 4.99.48

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index