aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-10-05 23:46:01 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-10-05 23:46:01 +0000
commitae70e8838c6673850098530f23ce1521328f983c (patch)
tree9f2b404776e5a9fd4a9cdf07d0e462b4c7b93a27 /sys/gnu/fs
parentaabbe26939be63615e371a91f87eeea8b177f728 (diff)
downloadsrc-ae70e8838c6673850098530f23ce1521328f983c.tar.gz
src-ae70e8838c6673850098530f23ce1521328f983c.zip
msk: Use a void cast to mark values of dummy reads as unused.
Note that this required adding missing ()'s around the outermost level of MSK_READ_MIB*. Otherwise, the void cast was only applied to the first register read. This also meant that MSK_READ_MIB64 was pretty broken as the uint64_t cast only applied to the first 16-bit register read in each MSK_READ_MIB32 invocation and the 32-bit shift was only applied to the second register read of the pair. Reviewed by: imp, emaste Reported by: GCC -Wunused-value Differential Revision: https://reviews.freebsd.org/D36777
Diffstat (limited to 'sys/gnu/fs')
0 files changed, 0 insertions, 0 deletions