]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnx2x/ecore_hsi.h
drivers/net: fix shifting 32-bit signed variable 31 times
[dpdk.git] / drivers / net / bnx2x / ecore_hsi.h
index 1192e5dd88a4f712f54e173e9aea0ce27508c657..74189eed66a40cb2d2825769af5ab1e7a1c277fe 100644 (file)
@@ -3545,7 +3545,7 @@ struct igu_regular
 #define IGU_REGULAR_CLEANUP_TYPE_SHIFT 28
 #define IGU_REGULAR_CLEANUP_SET (0x1<<30) /* BitField sb_id_and_flags   */
 #define IGU_REGULAR_CLEANUP_SET_SHIFT 30
-#define IGU_REGULAR_BCLEANUP (0x1<<31) /* BitField sb_id_and_flags      */
+#define IGU_REGULAR_BCLEANUP (0x1U<<31) /* BitField sb_id_and_flags     */
 #define IGU_REGULAR_BCLEANUP_SHIFT 31
        uint32_t reserved_2;
 };