Skip to content

Commit cf8984b

Browse files
robherringhtejun
authored andcommitted
ata: Convert to using %pOF instead of full_name
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Tejun Heo <tj@kernel.org> Cc: linux-ide@vger.kernel.org Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 74cbd96 commit cf8984b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/ata/sata_svw.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static int k2_sata_show_info(struct seq_file *m, struct Scsi_Host *shost)
339339
if (!reg)
340340
continue;
341341
if (index == *reg) {
342-
seq_printf(m, "devspec: %s\n", np->full_name);
342+
seq_printf(m, "devspec: %pOF\n", np);
343343
break;
344344
}
345345
}

0 commit comments

Comments
 (0)