On 5/17/22 13:35, Alberto Faria wrote:
For consistency with other I/O functions, and in preparation to implement it using generated_co_wrapper.Callers were updated using this Coccinelle script: @@ expression blk, offset, buf, bytes; @@ - blk_pread(blk, offset, buf, bytes) + blk_pread(blk, offset, buf, bytes, 0) It had no effect on hw/block/nand.c, presumably due to the #if, so that file was updated manually.
Whoa that's disgusting...
Overly-long lines were then fixed by hand. Signed-off-by: Alberto Faria <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]> Paolo
