Skip to content

Commit b68442e

Browse files
alexhenriemartinkpetersen
authored andcommitted
scsi: ppa: Fix compilation with PPA_DEBUG=1
Fix a regression introduced in February 2003 in Linux 2.5.61 by a patch from Alan Cox titled "fix ppa for new scsi".[1] Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Alex Henrie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent e9b525b commit b68442e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/ppa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ static void ppa_interrupt(struct work_struct *work)
637637
case DID_OK:
638638
break;
639639
case DID_NO_CONNECT:
640-
printk(KERN_DEBUG "ppa: no device at SCSI ID %i\n", cmd->device->target);
640+
printk(KERN_DEBUG "ppa: no device at SCSI ID %i\n", scmd_id(cmd));
641641
break;
642642
case DID_BUS_BUSY:
643643
printk(KERN_DEBUG "ppa: BUS BUSY - EPP timeout detected\n");

0 commit comments

Comments
 (0)