mirror of
https://github.com/opnsense/src.git
synced 2026-05-13 09:44:52 -04:00
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
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| if_msk.c | ||
| if_mskreg.h | ||