git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] use scmd_id(), scmd_channel() throughout code
[pandora-kernel.git]
/
drivers
/
scsi
/
imm.c
diff --git
a/drivers/scsi/imm.c
b/drivers/scsi/imm.c
index
65e8456
..
fc0f30a
100644
(file)
--- a/
drivers/scsi/imm.c
+++ b/
drivers/scsi/imm.c
@@
-830,7
+830,7
@@
static int imm_engine(imm_struct *dev, struct scsi_cmnd *cmd)
/* Phase 2 - We are now talking to the scsi bus */
case 2:
- if (!imm_select(dev,
cmd->device->id
)) {
+ if (!imm_select(dev,
scmd_id(cmd)
)) {
imm_fail(dev, DID_NO_CONNECT);
return 0;
}