Skip to contentSkip to conversation

mvsas: fix a sparse annotation

PATCH New Dan Carpenter 1 participant 1 message Apr 17, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mvsas: fix a sparse annotation

It doesn't make sense to label a 22 bit bitfield as __le32. It just causes a Sparse error.

drivers/scsi/mvsas/mv_94xx.h +1 -1
index 487aa6f..b11f90d 100644
@@ -220,7 +220,7 @@ union reg_phy_cfg {
 
 struct mvs_prd_imt {
 #ifndef __BIG_ENDIAN
-	__le32			len:22;
+	u32			len:22;
 	u8			_r_a:2;
 	u8			misc_ctl:4;
 	u8			inter_sel:4;