[U-Boot] [PATCH] x86: tangier: Fix pinmux warning

Bin Meng bmeng.cn at gmail.com
Mon Sep 17 09:37:47 UTC 2018


On Mon, Sep 17, 2018 at 5:35 PM Georgii Staroselskii
<georgii.staroselskii at emlid.com> wrote:
>
> On Mon, Sep 17, 2018 at 05:30:01PM +0800, Bin Meng wrote:
> > Hi Georgii,
> >
> > On Mon, Sep 17, 2018 at 5:28 PM Bin Meng <bmeng.cn at gmail.com> wrote:
> > >
> > > Currently the code builds with a warning:
> > >
> > > w+../arch/x86/cpu/tangier/pinmux.c: In function 'tangier_pinctrl_probe':
> > > w+../arch/x86/cpu/tangier/pinmux.c:175:11: warning: format '%d' expects
> > > argument of type 'int', but argument 3 has type 'ofnode {aka union
> > > ofnode_union}' [-Wformat=]
> > >
> > > This fixes it.
> > >
> > > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > > ---
> > >
> > >  arch/x86/cpu/tangier/pinmux.c | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> >
> > Please confirm whether this looks good. If no issue, I will squash
> > this commit into your previous patch [2/5] "x86: tangier: pinmux: add
> > API to configure protected pins"
> >
> > Regards,
> > Bin
>
> Hi Bin,
>
> Thanks for taking care of it so fast. Sorry for the trouble. LGTM.
> Squash it, please.
>

OK, squashed.

Regards,
Bin


More information about the U-Boot mailing list