summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-sbp2.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-04-24 23:17:47 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2008-05-01 19:55:24 +0200
commitf32ddaddf95d8a30be5a41cf681bc8792bc42ec7 (patch)
tree84dc50bb608427bf26151cc6670def9b54d0ef50 /drivers/firewire/fw-sbp2.c
parentieee1394: fix NULL pointer dereference in sysfs access (diff)
downloadlinux-f32ddaddf95d8a30be5a41cf681bc8792bc42ec7.tar.xz
linux-f32ddaddf95d8a30be5a41cf681bc8792bc42ec7.zip
firewire: fw-sbp2: log scsi_target ID at release
Makes the good-by message more informative. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Jarod Wilson <jwilson@redhat.com>
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
-rw-r--r--drivers/firewire/fw-sbp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 2a999373863e..62e3c9190983 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -784,7 +784,7 @@ static void sbp2_release_target(struct kref *kref)
kfree(lu);
}
scsi_remove_host(shost);
- fw_notify("released %s\n", tgt->bus_id);
+ fw_notify("released %s, target %d:0:0\n", tgt->bus_id, shost->host_no);
fw_unit_put(tgt->unit);
scsi_host_put(shost);