gcc diagnosed a dereference of 0x10 with -Warray-bounds, which is
entirely sensible, except that this is a deliberate trap. Throw gcc off
with a volatile pointer.
Details
Details
- Reviewers
kib - Commits
- rGff1c63671b73: kdb_sysctl_trap: suppress gcc -Warray-bounds
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable