public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Maíra Canal" <maira.canal@usp.br>,
	s.nawrocki@samsung.com, andrzej.hajda@intel.com,
	mchehab@kernel.org
Cc: kbuild-all@lists.01.org, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] media: s5c73m3: replace legacy gpio interface for gpiod
Date: Fri, 29 Apr 2022 15:00:20 +0800	[thread overview]
Message-ID: <202204291438.sh9ZA6U8-lkp@intel.com> (raw)
In-Reply-To: <YmsuDHwjUwxtjiyq@fedora>

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@intel.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

      parent reply	other threads:[~2022-04-29  7:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29  0:15 [PATCH v2] media: s5c73m3: replace legacy gpio interface for gpiod Maíra Canal
2022-04-29  4:48 ` kernel test robot
2022-04-29  7:00 ` kernel test robot [this message]

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=202204291438.sh9ZA6U8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrzej.hajda@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=maira.canal@usp.br \
    --cc=mchehab@kernel.org \
    --cc=s.nawrocki@samsung.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox