summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-08-27 23:24:37 +0000
committerrillig <rillig@NetBSD.org>2022-08-27 23:24:37 +0000
commit8b4c53e4e35831635bce2399b3db16e84eac73d8 (patch)
tree2cc07bd839496b70509b268e53c12721e29bceb1 /sys/dev/raidframe
parenteb1cf2272edd1ab703a64b32e07299a10cd751dd (diff)
tests/lint: add more information to test for __attribute__((aligned))
Declaring an array type having a negative dimension is the simplest way to embed an integer into a lint diagnostic, thereby revealing what size and alignment lint has calculated for a struct. While here, move these "compile-time assertions" closer to their corresponding struct, to make reading easier.
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions