Commit 44b2383d authored by John Levon's avatar John Levon Committed by James Bottomley

[PATCH] IPS driver typo

Not tested, against 2.5.63

regards
john
parent 1a570969
...@@ -2737,7 +2737,7 @@ ips_next(ips_ha_t *ha, int intr) { ...@@ -2737,7 +2737,7 @@ ips_next(ips_ha_t *ha, int intr) {
scb->dcdb.cmd_attribute = ips_command_direction[scb->scsi_cmd->cmnd[0]]; scb->dcdb.cmd_attribute = ips_command_direction[scb->scsi_cmd->cmnd[0]];
if (!scb->dcdb.cmd_attribute & 0x3) if (!(scb->dcdb.cmd_attribute & 0x3))
scb->dcdb.transfer_length = 0; scb->dcdb.transfer_length = 0;
if (scb->data_len >= IPS_MAX_XFER) { if (scb->data_len >= IPS_MAX_XFER) {
...@@ -3315,7 +3315,7 @@ ips_done(ips_ha_t *ha, ips_scb_t *scb) { ...@@ -3315,7 +3315,7 @@ ips_done(ips_ha_t *ha, ips_scb_t *scb) {
scb->dcdb.transfer_length = scb->data_len; scb->dcdb.transfer_length = scb->data_len;
scb->dcdb.cmd_attribute |= ips_command_direction[scb->scsi_cmd->cmnd[0]]; scb->dcdb.cmd_attribute |= ips_command_direction[scb->scsi_cmd->cmnd[0]];
if (!scb->dcdb.cmd_attribute & 0x3) if (!(scb->dcdb.cmd_attribute & 0x3))
scb->dcdb.transfer_length = 0; scb->dcdb.transfer_length = 0;
if (scb->data_len >= IPS_MAX_XFER) { if (scb->data_len >= IPS_MAX_XFER) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment