diff options
author | Toomas Soome <tsoome@me.com> | 2020-04-11 15:02:59 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-06-01 17:33:16 +0300 |
commit | e213fe2d75a0e47cc0b3f67c473e24dfa9304e0b (patch) | |
tree | e840a7525e0ac38e0226e74d98f390c389308a2d /usr/src | |
parent | 9f84ea46383c55ba04c274011946d91804aba95f (diff) | |
download | illumos-joyent-e213fe2d75a0e47cc0b3f67c473e24dfa9304e0b.tar.gz |
12545 ixgbe: IXGBE_LE32_TO_CPUS macro is missing assignment
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/ixgbe/ixgbe_osdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ixgbe/ixgbe_osdep.h b/usr/src/uts/common/io/ixgbe/ixgbe_osdep.h index a8df3df932..ce0cc20879 100644 --- a/usr/src/uts/common/io/ixgbe/ixgbe_osdep.h +++ b/usr/src/uts/common/io/ixgbe/ixgbe_osdep.h @@ -113,7 +113,7 @@ boolean_t ixgbe_removed(struct ixgbe_hw *); #ifdef _BIG_ENDIAN #define IXGBE_CPU_TO_LE16 BSWAP_16 #define IXGBE_CPU_TO_LE32 BSWAP_32 -#define IXGBE_LE32_TO_CPUS BSWAP_32 +#define IXGBE_LE32_TO_CPUS(x) *(x) = BSWAP_32(*(x)) #define IXGBE_CPU_TO_BE16(x) (x) #define IXGBE_CPU_TO_BE32(x) (x) #define IXGBE_BE32_TO_CPU(x) (x) |