Current-Users archive

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

Re: sys/dev/scsipi/scsipi_base.c



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.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index