diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2023-09-15 15:14:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-17 19:42:37 +0300 |
commit | a0bcb83577165b0d6fb948c8ab207a1dd7146f6f (patch) | |
tree | 62f2c0ee6e94f8d50b12e55e2997ccf2b3ff0765 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | a8ed71a27ef524c808b518031feac811ed3e741c (diff) | |
download | linux-a0bcb83577165b0d6fb948c8ab207a1dd7146f6f.tar.xz |
vsock/test: use recv_buf() in vsock_test.c
We have a very common pattern used in vsock_test that we can
now replace with the new recv_buf().
This allows us to reuse the code we already had to check the
actual return value and wait for all bytes to be received with
an appropriate timeout.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions