diff options
-rw-r--r-- | drivers/scsi/qlogicpti.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qlogicpti.h b/drivers/scsi/qlogicpti.h index 9c053bbaa877..e3c74d1ee2db 100644 --- a/drivers/scsi/qlogicpti.h +++ b/drivers/scsi/qlogicpti.h | |||
@@ -43,7 +43,7 @@ | |||
43 | * determined for each queue request anew. | 43 | * determined for each queue request anew. |
44 | */ | 44 | */ |
45 | #define QLOGICPTI_REQ_QUEUE_LEN 255 /* must be power of two - 1 */ | 45 | #define QLOGICPTI_REQ_QUEUE_LEN 255 /* must be power of two - 1 */ |
46 | #define QLOGICPTI_MAX_SG(ql) (4 + ((ql) > 0) ? 7*((ql) - 1) : 0) | 46 | #define QLOGICPTI_MAX_SG(ql) (4 + (((ql) > 0) ? 7*((ql) - 1) : 0)) |
47 | 47 | ||
48 | /* mailbox command complete status codes */ | 48 | /* mailbox command complete status codes */ |
49 | #define MBOX_COMMAND_COMPLETE 0x4000 | 49 | #define MBOX_COMMAND_COMPLETE 0x4000 |