diff options
author | Jonathan Corbet <corbet@lwn.net> | 2008-07-14 17:29:34 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-07-14 17:29:34 -0400 |
commit | 2fceef397f9880b212a74c418290ce69e7ac00eb (patch) | |
tree | d9cc09ab992825ef7fede4a688103503e3caf655 /drivers/scsi/3w-9xxx.c | |
parent | feae1ef116ed381625d3731c5ae4f4ebcb3fa302 (diff) | |
parent | bce7f793daec3e65ec5c5705d2457b81fe7b5725 (diff) |
Merge commit 'v2.6.26' into bkl-removal
Diffstat (limited to 'drivers/scsi/3w-9xxx.c')
-rw-r--r-- | drivers/scsi/3w-9xxx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c index eaa805df5b00..7045511f9ad2 100644 --- a/drivers/scsi/3w-9xxx.c +++ b/drivers/scsi/3w-9xxx.c | |||
@@ -1281,7 +1281,7 @@ static irqreturn_t twa_interrupt(int irq, void *dev_instance) | |||
1281 | error = 0; | 1281 | error = 0; |
1282 | /* Check for command packet errors */ | 1282 | /* Check for command packet errors */ |
1283 | if (full_command_packet->command.newcommand.status != 0) { | 1283 | if (full_command_packet->command.newcommand.status != 0) { |
1284 | if (tw_dev->srb[request_id] != 0) { | 1284 | if (tw_dev->srb[request_id] != NULL) { |
1285 | error = twa_fill_sense(tw_dev, request_id, 1, 1); | 1285 | error = twa_fill_sense(tw_dev, request_id, 1, 1); |
1286 | } else { | 1286 | } else { |
1287 | /* Skip ioctl error prints */ | 1287 | /* Skip ioctl error prints */ |
@@ -1293,7 +1293,7 @@ static irqreturn_t twa_interrupt(int irq, void *dev_instance) | |||
1293 | 1293 | ||
1294 | /* Check for correct state */ | 1294 | /* Check for correct state */ |
1295 | if (tw_dev->state[request_id] != TW_S_POSTED) { | 1295 | if (tw_dev->state[request_id] != TW_S_POSTED) { |
1296 | if (tw_dev->srb[request_id] != 0) { | 1296 | if (tw_dev->srb[request_id] != NULL) { |
1297 | TW_PRINTK(tw_dev->host, TW_DRIVER, 0x1a, "Received a request id that wasn't posted"); | 1297 | TW_PRINTK(tw_dev->host, TW_DRIVER, 0x1a, "Received a request id that wasn't posted"); |
1298 | TW_CLEAR_ALL_INTERRUPTS(tw_dev); | 1298 | TW_CLEAR_ALL_INTERRUPTS(tw_dev); |
1299 | goto twa_interrupt_bail; | 1299 | goto twa_interrupt_bail; |
@@ -1301,7 +1301,7 @@ static irqreturn_t twa_interrupt(int irq, void *dev_instance) | |||
1301 | } | 1301 | } |
1302 | 1302 | ||
1303 | /* Check for internal command completion */ | 1303 | /* Check for internal command completion */ |
1304 | if (tw_dev->srb[request_id] == 0) { | 1304 | if (tw_dev->srb[request_id] == NULL) { |
1305 | if (request_id != tw_dev->chrdev_request_id) { | 1305 | if (request_id != tw_dev->chrdev_request_id) { |
1306 | if (twa_aen_complete(tw_dev, request_id)) | 1306 | if (twa_aen_complete(tw_dev, request_id)) |
1307 | TW_PRINTK(tw_dev->host, TW_DRIVER, 0x1b, "Error completing AEN during attention interrupt"); | 1307 | TW_PRINTK(tw_dev->host, TW_DRIVER, 0x1b, "Error completing AEN during attention interrupt"); |