diff options
| author | Stefano Brivio <sbrivio@redhat.com> | 2025-12-04 23:18:51 +0100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-12-07 23:18:04 +0100 |
| commit | 834982c0a35145754de38f77de6e41815cb33178 (patch) | |
| tree | 39bf623cb8f1a7657981a33f00a6f70a1c35e008 /doc | |
| parent | 7c7be67ddf264281f192084521af23a1c429dd99 (diff) | |
| download | passt-834982c0a35145754de38f77de6e41815cb33178.tar passt-834982c0a35145754de38f77de6e41815cb33178.tar.gz passt-834982c0a35145754de38f77de6e41815cb33178.tar.bz2 passt-834982c0a35145754de38f77de6e41815cb33178.tar.lz passt-834982c0a35145754de38f77de6e41815cb33178.tar.xz passt-834982c0a35145754de38f77de6e41815cb33178.tar.zst passt-834982c0a35145754de38f77de6e41815cb33178.zip | |
vu_common: Clarify prototype of vu_collect()
The last argument of vu_collect() can't exceed @size, but this isn't
documented and it wasn't obvious to me, to the point that I actually
proposed a change to "fix" callers so that they wouldn't overrun input
buffers.
Rename @frame_size to @collected, and clarify that it can only be up
to @size bytes.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
