summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-04-01 01:06:26 +0000
committerrillig <rillig@NetBSD.org>2022-04-01 01:06:26 +0000
commite672949b536bc16be7bf09d623167dc745aa518a (patch)
tree2ab1370ec64cba0e9594cb04fe903f3cc296fd77 /sys/dev
parent975a05df7a64e76a5f6dcdbcc789fa980f3d5f84 (diff)
lint: replace crash with assertion failure
Triggered by 'sizeof(int())'. GCC evaluates this expression to 1, without any warning. Clang warns about an "invalid application of 'sizeof' to a function type".
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions