Message ID | 20180828015252.28511-27-robh@kernel.org |
---|---|
State | Accepted |
Commit | 94927676c741fe70d5270c92affdbc0cd4753fd3 |
Headers | show |
Series | mailbox: Convert to using %pOFn instead of device_node.name | expand |
On Mon, Aug 27, 2018 at 8:54 PM Rob Herring <robh@kernel.org> wrote: > > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Jassi Brar <jassisinghbrar@gmail.com> > Signed-off-by: Rob Herring <robh@kernel.org> > --- > drivers/mailbox/ti-msgmgr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Ping. > > diff --git a/drivers/mailbox/ti-msgmgr.c b/drivers/mailbox/ti-msgmgr.c > index 5bceafbf6699..713d701b6568 100644 > --- a/drivers/mailbox/ti-msgmgr.c > +++ b/drivers/mailbox/ti-msgmgr.c > @@ -560,8 +560,8 @@ static struct mbox_chan *ti_msgmgr_of_xlate(struct mbox_controller *mbox, > } > > err: > - dev_err(inst->dev, "Queue ID %d, Proxy ID %d is wrong on %s\n", > - req_qid, req_pid, p->np->name); > + dev_err(inst->dev, "Queue ID %d, Proxy ID %d is wrong on %pOFn\n", > + req_qid, req_pid, p->np); > return ERR_PTR(-ENOENT); > } > > -- > 2.17.1 >
diff --git a/drivers/mailbox/ti-msgmgr.c b/drivers/mailbox/ti-msgmgr.c index 5bceafbf6699..713d701b6568 100644 --- a/drivers/mailbox/ti-msgmgr.c +++ b/drivers/mailbox/ti-msgmgr.c @@ -560,8 +560,8 @@ static struct mbox_chan *ti_msgmgr_of_xlate(struct mbox_controller *mbox, } err: - dev_err(inst->dev, "Queue ID %d, Proxy ID %d is wrong on %s\n", - req_qid, req_pid, p->np->name); + dev_err(inst->dev, "Queue ID %d, Proxy ID %d is wrong on %pOFn\n", + req_qid, req_pid, p->np); return ERR_PTR(-ENOENT); }
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Jassi Brar <jassisinghbrar@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org> --- drivers/mailbox/ti-msgmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1