projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c64e483
)
[SCSI] libosd: remover duplicate __bitwise annotation
author
Dan Carpenter
<
[email protected]
>
Wed, 17 Apr 2013 07:19:05 +0000
(10:19 +0300)
committer
James Bottomley
<
[email protected]
>
Thu, 2 May 2013 19:15:10 +0000
(12:15 -0700)
__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]
>
Acked-by: Benny Halevy <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
include/scsi/osd_protocol.h
patch
|
blob
|
history
diff --git
a/include/scsi/osd_protocol.h
b/include/scsi/osd_protocol.h
index a6026da25f3e0bf5787d479e1511da85c1175299..25ac6283b9c753a6af74055d590a1ed613004be1 100644
(file)
--- a/
include/scsi/osd_protocol.h
+++ b/
include/scsi/osd_protocol.h
@@
-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,