aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rmt/rmt.8
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>2026-11-07 03:33:21 +0000
committerKenneth D. Merry <ken@FreeBSD.org>2026-11-07 03:33:25 +0000
commit68ba58a064d1004a031fac6f299f968dfc39241f (patch)
tree4cd64dd4664a26ec5d736e24cc8572bb5159118a /usr.sbin/rmt/rmt.8
parentc17aa0984de83a1079cda81b5cce521e73c7a64d (diff)
camcontrol: Fix -Wcast-align errors in the NVMe reservation reportHEADmain
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 'usr.sbin/rmt/rmt.8')
0 files changed, 0 insertions, 0 deletions