diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-01 10:06:53 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-06-02 04:36:27 -0400 |
commit | 63ff05910d9652f8a0c4dbb6c7772cfca5364f12 (patch) | |
tree | cb4396af4b08920b2076fde7ba2add584dd53ef0 /include/scsi | |
parent | 2a863ba8f6f5d72e4905a91c6281d575809fed5b (diff) |
include/scsi/osd_protocol.h: remove unnecessary __constant
__constant_cpu_to_be16 converted to cpu_to_be16
This patch fixes checkpatch warnings:
"WARNING: __constant_cpu_to_be16 should be cpu_to_be16"
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Ack-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/osd_protocol.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/scsi/osd_protocol.h b/include/scsi/osd_protocol.h index 25ac6283b9c7..a2594afe05c7 100644 --- a/include/scsi/osd_protocol.h +++ b/include/scsi/osd_protocol.h | |||
@@ -263,16 +263,16 @@ static inline struct osd_cdb_head *osd_cdb_head(struct osd_cdb *ocdb) | |||
263 | * Ex name = FORMAT_OSD we have OSD_ACT_FORMAT_OSD && OSDv1_ACT_FORMAT_OSD | 263 | * Ex name = FORMAT_OSD we have OSD_ACT_FORMAT_OSD && OSDv1_ACT_FORMAT_OSD |
264 | */ | 264 | */ |
265 | #define OSD_ACT___(Name, Num) \ | 265 | #define OSD_ACT___(Name, Num) \ |
266 | OSD_ACT_##Name = __constant_cpu_to_be16(0x8880 + Num), \ | 266 | OSD_ACT_##Name = cpu_to_be16(0x8880 + Num), \ |
267 | OSDv1_ACT_##Name = __constant_cpu_to_be16(0x8800 + Num), | 267 | OSDv1_ACT_##Name = cpu_to_be16(0x8800 + Num), |
268 | 268 | ||
269 | /* V2 only actions */ | 269 | /* V2 only actions */ |
270 | #define OSD_ACT_V2(Name, Num) \ | 270 | #define OSD_ACT_V2(Name, Num) \ |
271 | OSD_ACT_##Name = __constant_cpu_to_be16(0x8880 + Num), | 271 | OSD_ACT_##Name = cpu_to_be16(0x8880 + Num), |
272 | 272 | ||
273 | #define OSD_ACT_V1_V2(Name, Num1, Num2) \ | 273 | #define OSD_ACT_V1_V2(Name, Num1, Num2) \ |
274 | OSD_ACT_##Name = __constant_cpu_to_be16(Num2), \ | 274 | OSD_ACT_##Name = cpu_to_be16(Num2), \ |
275 | OSDv1_ACT_##Name = __constant_cpu_to_be16(Num1), | 275 | OSDv1_ACT_##Name = cpu_to_be16(Num1), |
276 | 276 | ||
277 | enum osd_service_actions { | 277 | enum osd_service_actions { |
278 | OSD_ACT_V2(OBJECT_STRUCTURE_CHECK, 0x00) | 278 | OSD_ACT_V2(OBJECT_STRUCTURE_CHECK, 0x00) |