Explorar o código

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>
Stefan Richter %!s(int64=17) %!d(string=hai) anos
pai
achega
f32ddaddf9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/firewire/fw-sbp2.c

+ 1 - 1
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);