Print this page
3014 Intel X540 Support (fix lint)
@@ -109,11 +109,16 @@
#ifdef _BIG_ENDIAN
#define IXGBE_CPU_TO_LE32 BSWAP_32
#define IXGBE_LE32_TO_CPUS BSWAP_32
#else
#define IXGBE_CPU_TO_LE32(x) (x)
+#if lint
+/* Use lint-happy operation... */
+#define IXGBE_LE32_TO_CPUS(x)
+#else
#define IXGBE_LE32_TO_CPUS(x) (x)
+#endif /* lint */
#endif /* _BIG_ENDIAN */
#define UNREFERENCED_PARAMETER(x) _NOTE(ARGUNUSED(x))
#define UNREFERENCED_1PARAMETER(_p) UNREFERENCED_PARAMETER(_p)
#define UNREFERENCED_2PARAMETER(_p, _q) _NOTE(ARGUNUSED(_p, _q))