[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202204291438.sh9ZA6U8-lkp@intel.com>
Date: Fri, 29 Apr 2022 15:00:20 +0800
From: kernel test robot <lkp@...el.com>
To: Maíra Canal <maira.canal@....br>,
s.nawrocki@...sung.com, andrzej.hajda@...el.com, mchehab@...nel.org
Cc: kbuild-all@...ts.01.org, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] media: s5c73m3: replace legacy gpio interface for
gpiod
Hi "Maíra,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on media-tree/master]
[also build test ERROR on v5.18-rc4 next-20220428]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Ma-ra-Canal/media-s5c73m3-replace-legacy-gpio-interface-for-gpiod/20220429-081656
base: git://linuxtv.org/media_tree.git master
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220429/202204291438.sh9ZA6U8-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/427ae1b9cae644d199f9ffc260480dd1c32ec9d6
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Ma-ra-Canal/media-s5c73m3-replace-legacy-gpio-interface-for-gpiod/20220429-081656
git checkout 427ae1b9cae644d199f9ffc260480dd1c32ec9d6
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/media/i2c/s5c73m3/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function 's5c73m3_gpio_assert':
>> drivers/media/i2c/s5c73m3/s5c73m3-core.c:1359:19: error: too few arguments to function 'gpiod_set_value'
1359 | int val = gpiod_set_value(gpio);
| ^~~~~~~~~~~~~~~
In file included from drivers/media/i2c/s5c73m3/s5c73m3-core.c:13:
include/linux/gpio/consumer.h:119:6: note: declared here
119 | void gpiod_set_value(struct gpio_desc *desc, int value);
| ^~~~~~~~~~~~~~~
drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function 's5c73m3_gpio_deassert':
drivers/media/i2c/s5c73m3/s5c73m3-core.c:1366:19: error: too few arguments to function 'gpiod_set_value'
1366 | int val = gpiod_set_value(gpio);
| ^~~~~~~~~~~~~~~
In file included from drivers/media/i2c/s5c73m3/s5c73m3-core.c:13:
include/linux/gpio/consumer.h:119:6: note: declared here
119 | void gpiod_set_value(struct gpio_desc *desc, int value);
| ^~~~~~~~~~~~~~~
vim +/gpiod_set_value +1359 drivers/media/i2c/s5c73m3/s5c73m3-core.c
1356
1357 static int s5c73m3_gpio_assert(struct gpio_desc *gpio)
1358 {
> 1359 int val = gpiod_set_value(gpio);
1360
1361 return s5c73m3_gpio_set_value(gpio, val);
1362 }
1363
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists