diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-01-07 12:46:03 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-01-10 19:27:43 +0100 |
| commit | 4a0c1a6f728a808822d5d912fc968470659ff97d (patch) | |
| tree | c7d9efe7f47070133af0bead7d949e5c4f2a81eb /test/tcp | |
| parent | 0bd2e6883d560c038e49a3cf68984d63f87ca67a (diff) | |
| download | passt-4a0c1a6f728a808822d5d912fc968470659ff97d.tar passt-4a0c1a6f728a808822d5d912fc968470659ff97d.tar.gz passt-4a0c1a6f728a808822d5d912fc968470659ff97d.tar.bz2 passt-4a0c1a6f728a808822d5d912fc968470659ff97d.tar.lz passt-4a0c1a6f728a808822d5d912fc968470659ff97d.tar.xz passt-4a0c1a6f728a808822d5d912fc968470659ff97d.tar.zst passt-4a0c1a6f728a808822d5d912fc968470659ff97d.zip | |
migrate: Don't use terminator element for versions[] array
When scanning the versions[] array we use a dummy entry to detect when
we're finished. Use ARRAY_SIZE() instead, which is almost as easy, a
little safer, and doesn't cause clang-tidy 21.1.7 to complain.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/tcp')
0 files changed, 0 insertions, 0 deletions
