IPS driver typo
Subsystems (3)
PATCH 1/1 IPS driver typo
Not tested, against 2.5.63
regards
john
drivers/scsi/ips.c +2 -2
@@ -2737,7 +2737,7 @@ 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 ;if (scb->data_len >=IPS_MAX_XFER ) {
@@ -3315,7 +3315,7 @@ scb->dcdb.transfer_length = scb->data_len; 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 ;if (scb->data_len >=IPS_MAX_XFER ) {