All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Viktor Prutyanov <viktor.prutyanov@phystech.edu>,
	sean@mess.org, mchehab@kernel.org, robh+dt@kernel.org,
	khilman@baylibre.com, narmstrong@baylibre.com
Cc: kbuild-all@lists.01.org, jbrunet@baylibre.com,
	martin.blumenstingl@googlemail.com, linux-media@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] media: rc: introduce Meson IR blaster driver
Date: Thu, 8 Jul 2021 01:24:09 +0800	[thread overview]
Message-ID: <202107080144.nTjn0XC5-lkp@intel.com> (raw)
In-Reply-To: <20210707141323.20757-3-viktor.prutyanov@phystech.edu>

[-- Attachment #1: Type: text/plain, Size: 4505 bytes --]

Hi Viktor,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.13 next-20210707]
[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/0day-ci/linux/commits/Viktor-Prutyanov/media-rc-add-support-for-Amlogic-Meson-IR-blaster/20210707-221429
base:   git://linuxtv.org/media_tree.git master
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/42877697e4d06c6c44aa04f0ee1936579cbbc47c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Viktor-Prutyanov/media-rc-add-support-for-Amlogic-Meson-IR-blaster/20210707-221429
        git checkout 42877697e4d06c6c44aa04f0ee1936579cbbc47c
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash drivers/media/rc/

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 >>):

   In file included from include/linux/printk.h:409,
                    from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/rculist.h:10,
                    from include/linux/pid.h:5,
                    from include/linux/sched.h:14,
                    from include/linux/ratelimit.h:6,
                    from include/linux/dev_printk.h:16,
                    from include/linux/device.h:15,
                    from drivers/media/rc/meson-irblaster.c:23:
   drivers/media/rc/meson-irblaster.c: In function 'irb_send':
>> drivers/media/rc/meson-irblaster.c:218:56: error: 'len' undeclared (first use in this function)
     218 |  dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
         |                                                        ^~~
   include/linux/dynamic_debug.h:134:15: note: in definition of macro '__dynamic_func_call'
     134 |   func(&id, ##__VA_ARGS__);  \
         |               ^~~~~~~~~~~
   include/linux/dynamic_debug.h:166:2: note: in expansion of macro '_dynamic_func_call'
     166 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
         |  ^~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
     123 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~
   drivers/media/rc/meson-irblaster.c:218:2: note: in expansion of macro 'dev_dbg'
     218 |  dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
         |  ^~~~~~~
   drivers/media/rc/meson-irblaster.c:218:56: note: each undeclared identifier is reported only once for each function it appears in
     218 |  dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
         |                                                        ^~~
   include/linux/dynamic_debug.h:134:15: note: in definition of macro '__dynamic_func_call'
     134 |   func(&id, ##__VA_ARGS__);  \
         |               ^~~~~~~~~~~
   include/linux/dynamic_debug.h:166:2: note: in expansion of macro '_dynamic_func_call'
     166 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
         |  ^~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
     123 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~
   drivers/media/rc/meson-irblaster.c:218:2: note: in expansion of macro 'dev_dbg'
     218 |  dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
         |  ^~~~~~~


vim +/len +218 drivers/media/rc/meson-irblaster.c

   213	
   214	static void irb_send(struct irblaster_dev *irb)
   215	{
   216		reinit_completion(&irb->completion);
   217	
 > 218		dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
   219		irb_send_buffer(irb);
   220		wait_for_completion_interruptible(&irb->completion);
   221		dev_dbg(irb->dev, "tx completed\n");
   222	}
   223	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 60306 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 2/2] media: rc: introduce Meson IR blaster driver
Date: Thu, 08 Jul 2021 01:24:09 +0800	[thread overview]
Message-ID: <202107080144.nTjn0XC5-lkp@intel.com> (raw)
In-Reply-To: <20210707141323.20757-3-viktor.prutyanov@phystech.edu>

[-- Attachment #1: Type: text/plain, Size: 4597 bytes --]

Hi Viktor,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.13 next-20210707]
[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/0day-ci/linux/commits/Viktor-Prutyanov/media-rc-add-support-for-Amlogic-Meson-IR-blaster/20210707-221429
base:   git://linuxtv.org/media_tree.git master
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/42877697e4d06c6c44aa04f0ee1936579cbbc47c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Viktor-Prutyanov/media-rc-add-support-for-Amlogic-Meson-IR-blaster/20210707-221429
        git checkout 42877697e4d06c6c44aa04f0ee1936579cbbc47c
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash drivers/media/rc/

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 >>):

   In file included from include/linux/printk.h:409,
                    from include/linux/kernel.h:17,
                    from include/linux/list.h:9,
                    from include/linux/rculist.h:10,
                    from include/linux/pid.h:5,
                    from include/linux/sched.h:14,
                    from include/linux/ratelimit.h:6,
                    from include/linux/dev_printk.h:16,
                    from include/linux/device.h:15,
                    from drivers/media/rc/meson-irblaster.c:23:
   drivers/media/rc/meson-irblaster.c: In function 'irb_send':
>> drivers/media/rc/meson-irblaster.c:218:56: error: 'len' undeclared (first use in this function)
     218 |  dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
         |                                                        ^~~
   include/linux/dynamic_debug.h:134:15: note: in definition of macro '__dynamic_func_call'
     134 |   func(&id, ##__VA_ARGS__);  \
         |               ^~~~~~~~~~~
   include/linux/dynamic_debug.h:166:2: note: in expansion of macro '_dynamic_func_call'
     166 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
         |  ^~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
     123 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~
   drivers/media/rc/meson-irblaster.c:218:2: note: in expansion of macro 'dev_dbg'
     218 |  dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
         |  ^~~~~~~
   drivers/media/rc/meson-irblaster.c:218:56: note: each undeclared identifier is reported only once for each function it appears in
     218 |  dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
         |                                                        ^~~
   include/linux/dynamic_debug.h:134:15: note: in definition of macro '__dynamic_func_call'
     134 |   func(&id, ##__VA_ARGS__);  \
         |               ^~~~~~~~~~~
   include/linux/dynamic_debug.h:166:2: note: in expansion of macro '_dynamic_func_call'
     166 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
         |  ^~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
     123 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
         |  ^~~~~~~~~~~~~~~
   drivers/media/rc/meson-irblaster.c:218:2: note: in expansion of macro 'dev_dbg'
     218 |  dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
         |  ^~~~~~~


vim +/len +218 drivers/media/rc/meson-irblaster.c

   213	
   214	static void irb_send(struct irblaster_dev *irb)
   215	{
   216		reinit_completion(&irb->completion);
   217	
 > 218		dev_dbg(irb->dev, "tx started, buffer length = %u\n", len);
   219		irb_send_buffer(irb);
   220		wait_for_completion_interruptible(&irb->completion);
   221		dev_dbg(irb->dev, "tx completed\n");
   222	}
   223	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 60306 bytes --]

  parent reply	other threads:[~2021-07-07 17:26 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-07 14:13 [PATCH v2 0/2] media: rc: add support for Amlogic Meson IR blaster Viktor Prutyanov
2021-07-07 14:13 ` Viktor Prutyanov
2021-07-07 14:13 ` Viktor Prutyanov
2021-07-07 14:13 ` [PATCH v2 1/2] media: rc: meson-irblaster: document device tree bindings Viktor Prutyanov
2021-07-07 14:13   ` Viktor Prutyanov
2021-07-07 14:13   ` Viktor Prutyanov
2021-07-08 13:09   ` Martin Blumenstingl
2021-07-08 13:09     ` Martin Blumenstingl
2021-07-08 13:09     ` Martin Blumenstingl
2021-07-08 13:20     ` Viktor Prutyanov
2021-07-08 13:20       ` Viktor Prutyanov
2021-07-08 13:20       ` Viktor Prutyanov
2021-07-08 13:57       ` Martin Blumenstingl
2021-07-08 13:57         ` Martin Blumenstingl
2021-07-08 13:57         ` Martin Blumenstingl
2021-07-07 14:13 ` [PATCH v2 2/2] media: rc: introduce Meson IR blaster driver Viktor Prutyanov
2021-07-07 14:13   ` Viktor Prutyanov
2021-07-07 14:13   ` Viktor Prutyanov
2021-07-07 14:29   ` Neil Armstrong
2021-07-07 14:29     ` Neil Armstrong
2021-07-07 14:29     ` Neil Armstrong
2021-07-07 15:11     ` Viktor Prutyanov
2021-07-07 15:11       ` Viktor Prutyanov
2021-07-07 15:11       ` Viktor Prutyanov
2021-07-07 17:18   ` [PATCH] fixup! " Viktor Prutyanov
2021-07-07 17:18     ` Viktor Prutyanov
2021-07-07 17:18     ` Viktor Prutyanov
2021-07-07 17:24   ` kernel test robot [this message]
2021-07-07 17:24     ` [PATCH v2 2/2] " kernel test robot
2021-07-08 10:16   ` Sean Young
2021-07-08 10:16     ` Sean Young
2021-07-08 10:16     ` Sean Young

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=202107080144.nTjn0XC5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=kbuild-all@lists.01.org \
    --cc=khilman@baylibre.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=mchehab@kernel.org \
    --cc=narmstrong@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sean@mess.org \
    --cc=viktor.prutyanov@phystech.edu \
    /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 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.