* [pinctrl:devel 30/37] drivers/pinctrl/pinconf.c:205:6: sparse: symbol 'pinconf_show_config' was not declared. Should it be static?
@ 2015-07-17 13:37 kbuild test robot
2015-07-17 13:37 ` [PATCH pinctrl] pinctrl: pinconf: pinconf_show_config() can be static kbuild test robot
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2015-07-17 13:37 UTC (permalink / raw)
To: Jon Hunter; +Cc: kbuild-all, Linus Walleij, linux-gpio, linux-kernel
tree: git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head: 16c06171faa4ad430393ca896fc62eb9e2e6dd40
commit: d96310aeddc692cf1f06861cf722c4843e0a3f28 [30/37] pinctrl: pinconf: Fix display of configs
reproduce:
# apt-get install sparse
git checkout d96310aeddc692cf1f06861cf722c4843e0a3f28
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/pinctrl/pinconf.c:205:6: sparse: symbol 'pinconf_show_config' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH pinctrl] pinctrl: pinconf: pinconf_show_config() can be static
2015-07-17 13:37 [pinctrl:devel 30/37] drivers/pinctrl/pinconf.c:205:6: sparse: symbol 'pinconf_show_config' was not declared. Should it be static? kbuild test robot
@ 2015-07-17 13:37 ` kbuild test robot
2015-07-17 13:40 ` Linus Walleij
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2015-07-17 13:37 UTC (permalink / raw)
To: Jon Hunter; +Cc: kbuild-all, Linus Walleij, linux-gpio, linux-kernel
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pinconf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
index cbf26a6..078e58d 100644
--- a/drivers/pinctrl/pinconf.c
+++ b/drivers/pinctrl/pinconf.c
@@ -202,7 +202,7 @@ int pinconf_apply_setting(struct pinctrl_setting const *setting)
#ifdef CONFIG_DEBUG_FS
-void pinconf_show_config(struct seq_file *s, struct pinctrl_dev *pctldev,
+static void pinconf_show_config(struct seq_file *s, struct pinctrl_dev *pctldev,
unsigned long *configs, unsigned num_configs)
{
const struct pinconf_ops *confops;
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-17 13:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-17 13:37 [pinctrl:devel 30/37] drivers/pinctrl/pinconf.c:205:6: sparse: symbol 'pinconf_show_config' was not declared. Should it be static? kbuild test robot
2015-07-17 13:37 ` [PATCH pinctrl] pinctrl: pinconf: pinconf_show_config() can be static kbuild test robot
2015-07-17 13:40 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox