libosd: remover duplicate __bitwise annotation
Subsystems (2)
PATCH 1/1 libosd: remover duplicate __bitwise annotation
__be32 is already a __bitwise type so we don't need the second __bitwise here. It causes a Sparse error:include/scsi/osd_protocol.h:110:26: error: invalid modifier
Signed-off-by Dan Carpenter <[email protected]>
include/scsi/osd_protocol.h +1 -1
@@ -107,7 +107,7 @@ enum osd_attributes_mode {* int exponent: 04; * } */ -typedef __be32 __bitwise osd_cdb_offset ; +typedef __be32 osd_cdb_offset ;enum {OSD_OFFSET_UNUSED =0xFFFFFFFF ,
Quoted 5 lines · Dan Carpenter
__be32is already a__bitwisetype so we don't need the second__bitwisehere. It causes a Sparse error:include/scsi/osd_protocol.h:110:26: error: invalid modifierSigned-off-by Dan Carpenter <[email protected]>
ACK
Quoted 19 lines
include/scsi/osd_protocol.h +1
-1@@ -107,7 +107,7 @@ enum osd_attributes_mode {* int exponent: 04; * } */ -typedef __be32 __bitwise osd_cdb_offset ; +typedef __be32 osd_cdb_offset ;enum {OSD_OFFSET_UNUSED =0xFFFFFFFF ,_______________________________________________
osd-dev mailing list
[email protected]
http://mailman.open-osd.org/mailman/listinfo/osd-dev