[PATCH] firewire: fw-sbp2: log scsi_target ID at release

From: Stefan Richter
Date: Thu Apr 24 2008 - 17:18:20 EST


Makes the good-by message more informative.

Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
---
--- linux.orig/drivers/firewire/fw-sbp2.c
+++ linux/drivers/firewire/fw-sbp2.c
@@ -784,7 +784,7 @@ static void sbp2_release_target(struct k
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);

--
Stefan Richter
-=====-==--- -=-- ==---
http://arcgraph.de/sr/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/