Source-Changes-D archive

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

Re: CVS commit: src/sys/dev/scsipi



On Sat, Aug 15, 2009 at 12:44:55PM +0000, Paul Goyette wrote:
> 
> 2. Replace a numeric constant with some sizeof's when calculating the
>    size of the mode_select command buffer, clear the entire buffer, and
>    KASSERT to ensure the page_0_size loaded from quirk table is valid.

Are you sure the change doesn't break if the compiler adds any
'end of structure' padding ?

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index