lkml.org 
[lkml]   [2017]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mfd: Add support for TI LMP92001
Hi Abhisit,

[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v4.13-rc6 next-20170822]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/s-abhisit-gmail-com/mfd-Add-support-for-TI-LMP92001/20170823-033657
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64

All errors (new ones prefixed by >>):

drivers//gpio/gpio-lmp92001.c: In function 'lmp92001_gpio_dbg_show':
>> drivers//gpio/gpio-lmp92001.c:131:3: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]
seq_printf(s, " gpio-%-3d (%-20.20s) %-3.3s %-2.2s\n",
^~~~~~~~~~
cc1: some warnings being treated as errors

vim +/seq_printf +131 drivers//gpio/gpio-lmp92001.c

103
104 #ifdef CONFIG_DEBUG_FS
105 static void lmp92001_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
106 {
107 struct lmp92001_gpio *lmp92001_gpio = gpiochip_get_data(chip);
108 struct lmp92001 *lmp92001 = lmp92001_gpio->lmp92001;
109 int i, gpio;
110 unsigned int cgpo;
111 const char *label, *dir, *logic;
112
113 for (i = 0; i < chip->ngpio; i++) {
114 gpio = i + chip->base;
115
116 label = gpiochip_is_requested(chip, i);
117 if (!label)
118 continue;
119
120 regmap_read(lmp92001->regmap, LMP92001_CGPO, &cgpo);
121 if ((cgpo>>i) & BIT(0))
122 dir = "in";
123 else
124 dir = "out";
125
126 if (lmp92001_gpio_get(chip, i))
127 logic = "hi";
128 else
129 logic = "lo";
130
> 131 seq_printf(s, " gpio-%-3d (%-20.20s) %-3.3s %-2.2s\n",
132 gpio, label, dir, logic);
133 }
134 }
135 #else
136 #define lmp92001_gpio_dbg_show NULL
137 #endif
138

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-08-23 01:38    [W:0.194 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site