Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697032

Re: [PATCH] arm64: Convert to using %pOF instead of full_name

From Will Deacon <will.deacon@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: Convert to using %pOF instead of full_name
Date 2017-07-26 14:10 +0200
Message-ID <u7tix-7n-15@gated-at.bofh.it> (permalink)
References <u4IQP-86Q-33@gated-at.bofh.it> <u76P2-2BR-55@gated-at.bofh.it> <u7in8-1wt-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Rob,

On Tue, Jul 25, 2017 at 07:27:29PM -0500, Rob Herring wrote:
> On Tue, Jul 25, 2017 at 7:04 AM, Will Deacon <will.deacon@arm.com> wrote:
> > On Tue, Jul 18, 2017 at 04:42:42PM -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: Catalin Marinas <catalin.marinas@arm.com>
> >> Cc: Will Deacon <will.deacon@arm.com>
> >> Cc: linux-arm-kernel@lists.infradead.org
> >> ---
> >>  arch/arm64/kernel/cpu_ops.c  |  4 ++--
> >>  arch/arm64/kernel/smp.c      | 12 ++++++------
> >>  arch/arm64/kernel/topology.c | 22 +++++++++++-----------
> >>  3 files changed, 19 insertions(+), 19 deletions(-)
> >
> > I've queued this and the perf patch too, but it would be good if somebody
> > could update sparse to recognise this format specifier. Currently it
> > just complains about it.
> 
> I'm happy to fix it, but I ran sparse and don't see any errors. Got a pointer?

I went back and checked again and it's not sparse that's warning, it's
actually smatch (sorry for getting that mixed up):

  arch/arm64/kernel/cpu_ops.c:85 cpu_read_enable_method() error: unrecognized %p extension 'O', treated as normal %p [smatch]

Will

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 00:10 +0200
  Re: [PATCH] arm64: Convert to using %pOF instead of full_name Will Deacon <will.deacon@arm.com> - 2017-07-25 14:10 +0200
    Re: [PATCH] arm64: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-26 02:30 +0200
      Re: [PATCH] arm64: Convert to using %pOF instead of full_name Will Deacon <will.deacon@arm.com> - 2017-07-26 14:10 +0200
        Re: [PATCH] arm64: Convert to using %pOF instead of full_name Dan Carpenter <dan.carpenter@oracle.com> - 2017-07-26 14:20 +0200

csiph-web