-
由 Tomas Henzl 提交于
The current implementation may mix the negative value returned from pm8001_set_nvmd with count. -(-ENOMEM) could be interpreted as bytes programmed, this patch fixes it. Signed-off-by: NTomas Henzl <thenzl@redhat.com> Signed-off-by: NSuresh Thiagarajan <Suresh.Thiagarajan@pmcs.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
6f8f31c7