|
| From: | Paolo Bonzini |
| Subject: | Re: [PATCH 02/18] block: Add a 'flags' param to blk_pread() |
| Date: | Tue, 17 May 2022 16:19:40 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
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 <afaria@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |