[Skiboot] [PATCH] libflash/file: Handle short read()s and write()s correctly
cyril.bur at au1.ibm.com
Thu Sep 28 15:32:16 AEST 2017
On Thu, 2017-09-28 at 14:40 +1000, Stewart Smith wrote:
> 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)?
Yeah I don't believe anyone does. I'll mention it to the openbmc folk
that they should bump their version.
> git describe --contains c7c3a4cd53d
More information about the Skiboot