[Skiboot] [PATCH v2] flash: fix offset and size parameters check

Jeremy Kerr jk at ozlabs.org
Mon Jun 15 20:18:28 AEST 2015


Hi Cedric,

> It seems that the check on the parameters in the opal_flash_op()
> routine are bit excessive and we fail to write or read the last
> block.
> 
> Here is a fix below which should be enough to catch an out of bounds 
> operation.

Looks good, thanks.

Acked-by: Jeremy Kerr <jk at ozlabs.org>

Cheers,


Jeremy



More information about the Skiboot mailing list