bnx2x: Adding explicit casting
Subsystems (2)
PATCH 30/36 bnx2x: Adding explicit casting
Signed-off-by Eilon Greenstein <[email protected]>
--- drivers/net/bnx2x_main.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/bnx2x_main.c +3 -3
@@ -2926,7 +2926,7 @@ static inline void bnx2x_attn_int_deasserted0(struct bnx2x *bp, u32 attn)REG_WR (bp, reg_offset, val);BNX2X_ERR ("FATAL HW block attention set0 0x%x\n" , - (attn &HW_INTERRUT_ASSERT_SET_0 )); + (u32)(attn &HW_INTERRUT_ASSERT_SET_0 ));bnx2x_panic (); } }
@@ -2957,7 +2957,7 @@ static inline void bnx2x_attn_int_deasserted1(struct bnx2x *bp, u32 attn)REG_WR (bp, reg_offset, val);BNX2X_ERR ("FATAL HW block attention set1 0x%x\n" , - (attn &HW_INTERRUT_ASSERT_SET_1 )); + (u32)(attn &HW_INTERRUT_ASSERT_SET_1 ));bnx2x_panic (); } }
@@ -2997,7 +2997,7 @@ static inline void bnx2x_attn_int_deasserted2(struct bnx2x *bp, u32 attn)REG_WR (bp, reg_offset, val);BNX2X_ERR ("FATAL HW block attention set2 0x%x\n" , - (attn &HW_INTERRUT_ASSERT_SET_2 )); + (u32)(attn &HW_INTERRUT_ASSERT_SET_2 ));bnx2x_panic (); } }
Signature · 1 line
1.5.4.3