diff options
author | Dongli Zhang <dongli.zhang@oracle.com> | 2018-11-02 14:16:36 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-12-11 18:28:46 +0100 |
commit | e4fbf5b2454e23d3b7050b54702cd451117252d8 (patch) | |
tree | 09cf129aa97d55f82e15a33497bfc18eb2478b68 /Makefile.target | |
parent | 27c6ef1b5857b1447f0a0f8da4bd7df3e1a7a637 (diff) |
virtio: pass argument by value for virtqueue_map_iovec()
Pass num_sg by value instead of by pointer, as num_sg is never modified in
virtqueue_map_iovec().
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1541139396-4727-1-git-send-email-dongli.zhang@oracle.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'Makefile.target')
0 files changed, 0 insertions, 0 deletions