Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1692965
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] media: Convert to using %pOF instead of full_name |
| Date | 2017-07-20 16:10 +0200 |
| Message-ID | <u5kjo-7N-7@gated-at.bofh.it> (permalink) |
| References | <u4TMe-6Hh-27@gated-at.bofh.it> <u4IHb-7NO-75@gated-at.bofh.it> <u4TMe-6Hh-25@gated-at.bofh.it> <u4ZI0-2x4-65@gated-at.bofh.it> <u5hER-6zC-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Jul 20, 2017 at 6:15 AM, Mauro Carvalho Chehab
<mchehab@s-opensource.com> wrote:
> Em Wed, 19 Jul 2017 11:02:01 -0500
> Rob Herring <robh@kernel.org> escreveu:
>
>> On Wed, Jul 19, 2017 at 4:41 AM, Sylwester Nawrocki
>> <s.nawrocki@samsung.com> wrote:
>> > On 07/18/2017 11:43 PM, 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>
>> >
>> >> ---
>> >> drivers/media/i2c/s5c73m3/s5c73m3-core.c | 3 +-
>> >> drivers/media/i2c/s5k5baf.c | 7 ++--
>> >> drivers/media/platform/am437x/am437x-vpfe.c | 4 +-
>> >> drivers/media/platform/atmel/atmel-isc.c | 4 +-
>> >> drivers/media/platform/davinci/vpif_capture.c | 16 ++++----
>> >> drivers/media/platform/exynos4-is/fimc-is.c | 8 ++--
>> >> drivers/media/platform/exynos4-is/fimc-lite.c | 3 +-
>> >> drivers/media/platform/exynos4-is/media-dev.c | 8 ++--
>> >> drivers/media/platform/exynos4-is/mipi-csis.c | 4 +-
>> >> drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 6 +--
>> >> drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 8 ++--
>> >> drivers/media/platform/omap3isp/isp.c | 8 ++--
>> >> drivers/media/platform/pxa_camera.c | 2 +-
>> >> drivers/media/platform/rcar-vin/rcar-core.c | 4 +-
>> >> drivers/media/platform/soc_camera/soc_camera.c | 6 +--
>> >> drivers/media/platform/xilinx/xilinx-vipp.c | 52 +++++++++++++-------------
>> >> drivers/media/v4l2-core/v4l2-async.c | 4 +-
>> >> drivers/media/v4l2-core/v4l2-clk.c | 3 +-
>> >> include/media/v4l2-clk.h | 4 +-
>> >> 19 files changed, 71 insertions(+), 83 deletions(-)
>> >
>> >> diff --git a/drivers/media/platform/xilinx/xilinx-vipp.c b/drivers/media/platform/xilinx/xilinx-vipp.c
>> >> index ac4704388920..9233ad0b1b6b 100644
>> >> --- a/drivers/media/platform/xilinx/xilinx-vipp.c
>> >> +++ b/drivers/media/platform/xilinx/xilinx-vipp.c
>> >
>> >> @@ -144,9 +144,8 @@ static int xvip_graph_build_one(struct xvip_composite_device *xdev,
>> >> remote = ent->entity;
>> >>
>> >> if (link.remote_port >= remote->num_pads) {
>> >> - dev_err(xdev->dev, "invalid port number %u on %s\n",
>> >> - link.remote_port,
>> >> - to_of_node(link.remote_node)->full_name);
>> >> + dev_err(xdev->dev, "invalid port number %u on %pOF\n",
>> >> + link.remote_port, link.remote_node);
>> >
>> > Shouldn't there be to_of_node(link.remote_node) instead of link.remote_node ?
>>
>> Humm, yes. I thought I fixed that.
>
> After such fix, I'm OK with this patch.
I'll send a new version.
I think I'll send a revert of the referenced commit. It won't apply
cleanly, but at least it will capture the change in behavior and why
it was wrong.
> Are you planning to apply it on your tree, or via the media one?
>
> I guess it is probably better to apply via media, in order to avoid
> conflicts with other changes.
Yes, you can take it.
Rob
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] media: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 00:00 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Niklas Söderlund <niklas.soderlund@ragnatech.se> - 2017-07-19 10:30 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2017-07-19 11:00 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Sylwester Nawrocki <s.nawrocki@samsung.com> - 2017-07-19 11:50 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 18:10 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Frank Rowand <frowand.list@gmail.com> - 2017-07-19 23:10 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Sylwester Nawrocki <s.nawrocki@samsung.com> - 2017-07-20 12:30 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-20 13:20 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-20 16:10 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Matthias Brugger <matthias.bgg@gmail.com> - 2017-07-19 12:40 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name Nicolas Ferre <nicolas.ferre@microchip.com> - 2017-07-19 13:40 +0200
Re: [PATCH] media: Convert to using %pOF instead of full_name "Lad, Prabhakar" <prabhakar.csengg@gmail.com> - 2017-07-20 13:30 +0200
csiph-web