From: "Andrew Jeffery" <andrew@aj.id.au> To: YueHaibing <yuehaibing@huawei.com>, "Linus Walleij" <linus.walleij@linaro.org>, "Joel Stanley" <joel@jms.id.au>, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH -next] pinctrl: aspeed: Make aspeed_pinmux_ips static Date: Fri, 12 Jul 2019 10:26:26 +0930 [thread overview] Message-ID: <8ed970e9-7062-4905-9d8e-d5f28a0a4919@www.fastmail.com> (raw) In-Reply-To: <20190711142457.37028-1-yuehaibing@huawei.com> On Thu, 11 Jul 2019, at 23:55, YueHaibing wrote: > Fix sparse warning: > > drivers/pinctrl/aspeed/pinmux-aspeed.c:8:12: warning: > symbol 'aspeed_pinmux_ips' was not declared. Should it be static? > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> > --- > drivers/pinctrl/aspeed/pinmux-aspeed.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/aspeed/pinmux-aspeed.c > b/drivers/pinctrl/aspeed/pinmux-aspeed.c > index 5b0fe17..839c01b 100644 > --- a/drivers/pinctrl/aspeed/pinmux-aspeed.c > +++ b/drivers/pinctrl/aspeed/pinmux-aspeed.c > @@ -5,7 +5,7 @@ > > #include "pinmux-aspeed.h" > > -const char *const aspeed_pinmux_ips[] = { > +static const char *const aspeed_pinmux_ips[] = { > [ASPEED_IP_SCU] = "SCU", > [ASPEED_IP_GFX] = "GFX", > [ASPEED_IP_LPC] = "LPC", > -- > 2.7.4 > > >
WARNING: multiple messages have this Message-ID (diff)
From: "Andrew Jeffery" <andrew@aj.id.au> To: YueHaibing <yuehaibing@huawei.com>, "Linus Walleij" <linus.walleij@linaro.org>, "Joel Stanley" <joel@jms.id.au>, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH -next] pinctrl: aspeed: Make aspeed_pinmux_ips static Date: Fri, 12 Jul 2019 10:26:26 +0930 [thread overview] Message-ID: <8ed970e9-7062-4905-9d8e-d5f28a0a4919@www.fastmail.com> (raw) In-Reply-To: <20190711142457.37028-1-yuehaibing@huawei.com> On Thu, 11 Jul 2019, at 23:55, YueHaibing wrote: > Fix sparse warning: > > drivers/pinctrl/aspeed/pinmux-aspeed.c:8:12: warning: > symbol 'aspeed_pinmux_ips' was not declared. Should it be static? > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> > --- > drivers/pinctrl/aspeed/pinmux-aspeed.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/aspeed/pinmux-aspeed.c > b/drivers/pinctrl/aspeed/pinmux-aspeed.c > index 5b0fe17..839c01b 100644 > --- a/drivers/pinctrl/aspeed/pinmux-aspeed.c > +++ b/drivers/pinctrl/aspeed/pinmux-aspeed.c > @@ -5,7 +5,7 @@ > > #include "pinmux-aspeed.h" > > -const char *const aspeed_pinmux_ips[] = { > +static const char *const aspeed_pinmux_ips[] = { > [ASPEED_IP_SCU] = "SCU", > [ASPEED_IP_GFX] = "GFX", > [ASPEED_IP_LPC] = "LPC", > -- > 2.7.4 > > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-07-12 0:56 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-07-11 14:24 [PATCH -next] pinctrl: aspeed: Make aspeed_pinmux_ips static YueHaibing 2019-07-11 14:24 ` YueHaibing 2019-07-12 0:56 ` Andrew Jeffery [this message] 2019-07-12 0:56 ` Andrew Jeffery 2019-07-29 21:36 ` Linus Walleij 2019-07-29 21:36 ` Linus Walleij 2019-07-29 21:36 ` Linus Walleij
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=8ed970e9-7062-4905-9d8e-d5f28a0a4919@www.fastmail.com \ --to=andrew@aj.id.au \ --cc=joel@jms.id.au \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-aspeed@lists.ozlabs.org \ --cc=linux-gpio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=openbmc@lists.ozlabs.org \ --cc=yuehaibing@huawei.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.