firewire: fw-sbp2: log scsi_target ID at release
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 24 Apr 2008 21:17:47 +0000 (23:17 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 1 May 2008 17:55:24 +0000 (19:55 +0200)
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>
drivers/firewire/fw-sbp2.c

index 2a999373863eb206927d23e4a8f775cf3c92c053..62e3c91909838c52d3f60dcd4559022186b30916 100644 (file)
@@ -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);