[Skiboot] [PATCH] libflash/file: Handle short read()s and write()s correctly

Stewart Smith stewart at linux.vnet.ibm.com
Thu Sep 28 14:40:35 AEST 2017

Cyril Bur <cyril.bur at au1.ibm.com> writes:
> Currently we don't move the buffer along for a short read() or write()
> and nor do we request only the remaining amount.
> Fixes: c7c3a4cd53d libflash/file: Add a file access backend to for the blocklevel interface.
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>

Thanks, merged as of c06ed583d05d8c8b86584b3c4afda71adbd5301a.

Should we backport this to stable trees (I'm not sure if anybody ships
pflash from a stable branch though)?

git describe --contains  c7c3a4cd53d

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list