* [patch] [SCSI] mvsas: fix a sparse annotation
@ 2013-04-17 7:13 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2013-04-17 7:13 UTC (permalink / raw)
To: James E.J. Bottomley; +Cc: Xiangliang Yu, linux-scsi, kernel-janitors
It doesn't make sense to label a 22 bit bitfield as __le32. It just
causes a Sparse error.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/drivers/scsi/mvsas/mv_94xx.h b/drivers/scsi/mvsas/mv_94xx.h
index 487aa6f..b11f90d 100644
--- a/drivers/scsi/mvsas/mv_94xx.h
+++ b/drivers/scsi/mvsas/mv_94xx.h
@@ -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;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-17 7:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 7:13 [patch] [SCSI] mvsas: fix a sparse annotation Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox