Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1690746 > unrolled thread
| Started by | Rob Herring <robh@kernel.org> |
|---|---|
| First post | 2017-07-19 00:10 +0200 |
| Last post | 2017-07-19 00:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ata: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 00:10 +0200
Re: [PATCH] ata: Convert to using %pOF instead of full_name Tejun Heo <tj@kernel.org> - 2017-07-19 00:10 +0200
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-07-19 00:10 +0200 |
| Subject | [PATCH] ata: Convert to using %pOF instead of full_name |
| Message-ID | <u4IQN-86Q-3@gated-at.bofh.it> |
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
---
drivers/ata/sata_svw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c
index 0fd6ac7e57ba..a9d692c6c182 100644
--- a/drivers/ata/sata_svw.c
+++ b/drivers/ata/sata_svw.c
@@ -339,7 +339,7 @@ static int k2_sata_show_info(struct seq_file *m, struct Scsi_Host *shost)
if (!reg)
continue;
if (index == *reg) {
- seq_printf(m, "devspec: %s\n", np->full_name);
+ seq_printf(m, "devspec: %pOF\n", np);
break;
}
}
--
2.11.0
[toc] | [next] | [standalone]
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2017-07-19 00:10 +0200 |
| Message-ID | <u4IQO-86Q-19@gated-at.bofh.it> |
| In reply to | #1690746 |
On Tue, Jul 18, 2017 at 04:42:48PM -0500, Rob Herring wrote: > 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 Applied to libata/for-4.14. Thanks. -- tejun
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web