summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2025-09-23 17:44:26 -0400
committerMichael S. Tsirkin <mst@redhat.com>2025-10-01 07:24:31 -0400
commitc0e1116189acfec74c8f5032da257b954d3f757f (patch)
tree9da16a6fd8d480075a001911f1400ab5e14c9940 /tools/docs/lib/parse_data_structs.py
parent82a8d0fda55b35361ee7f35b54fa2b66d7847d2b (diff)
vhost: vringh: Fix copy_to_iter return value check
The return value of copy_to_iter can't be negative, check whether the copied length is equal to the requested length instead of checking for negative values. Fixes: 309bba39c945 ("vringh: iterate on iotlb_translate to handle large translations") Cc: "Stefano Garzarella" <sgarzare@redhat.com> Cc: zhang jiao <zhangjiao2@cmss.chinamobile.com> Link: https://lore.kernel.org/all/20250910091739.2999-1-zhangjiao2@cmss.chinamobile.com Message-ID: <cd637504a6e3967954a9e80fc1b75e8c0978087b.1758723310.git.mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions