diff options
| author | Eric Blake | 2017-07-07 14:44:48 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2017-07-10 13:18:06 +0200 |
| commit | 931e52607fbecb40543b298d7ee8740d0e4af3ef (patch) | |
| tree | 0ccf6043402e0a5510a14e1fd3ebad8b4441790e /scripts/checkpatch.pl | |
| parent | mirror: Switch mirror_do_zero_or_discard() to byte-based (diff) | |
| download | qemu-931e52607fbecb40543b298d7ee8740d0e4af3ef.tar.gz qemu-931e52607fbecb40543b298d7ee8740d0e4af3ef.tar.xz qemu-931e52607fbecb40543b298d7ee8740d0e4af3ef.zip | |
mirror: Update signature of mirror_clip_sectors()
Rather than having a void function that modifies its input
in-place as the output, change the signature to reduce a layer
of indirection and return the result.
Suggested-by: John Snow <jsnow@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
