diff options
| author | Kenneth D. Merry <ken@FreeBSD.org> | 2026-11-07 03:33:21 +0000 |
|---|---|---|
| committer | Kenneth D. Merry <ken@FreeBSD.org> | 2026-11-07 03:33:25 +0000 |
| commit | 68ba58a064d1004a031fac6f299f968dfc39241f (patch) | |
| tree | 4cd64dd4664a26ec5d736e24cc8572bb5159118a /contrib/tcpdump/cpack.h | |
| parent | c17aa0984de83a1079cda81b5cce521e73c7a64d (diff) | |
Casting the byte buffer that holds the Reservation Report payload to
the status structures trips -Wcast-align on strict-alignment
architectures, which broke the CI builds there. Put the buffer in a
union with the two status structures instead, so it is properly
aligned and no casts are needed.
Reported by: FreeBSD CI
Fixes: ba75cf05727e ("camcontrol: Support NVMe reservations via the persist subcommand")
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
MFC after: 1 week
Sponsored by: Spectra Logic
Diffstat (limited to 'contrib/tcpdump/cpack.h')
0 files changed, 0 insertions, 0 deletions
