From: kernel test robot <lkp@intel.com>
To: Kyeongdon Kim <kyeongdon.kim@lge.com>, laurent.pinchart@ideasonboard.com
Cc: kbuild-all@lists.01.org, mchehab@kernel.org,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Kyeongdon Kim <kyeongdon.kim@lge.com>
Subject: Re: [PATCH] media: uvcvideo: use dynamic allocation for uvc_copy_op
Date: Fri, 3 Sep 2021 01:30:34 +0800 [thread overview]
Message-ID: <202109030141.Zr4MWIkV-lkp@intel.com> (raw)
In-Reply-To: <20210902084940.15285-1-kyeongdon.kim@lge.com>
[-- Attachment #1: Type: text/plain, Size: 3411 bytes --]
Hi Kyeongdon,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.14 next-20210902]
[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/Kyeongdon-Kim/media-uvcvideo-use-dynamic-allocation-for-uvc_copy_op/20210902-172043
base: git://linuxtv.org/media_tree.git master
config: openrisc-buildonly-randconfig-r003-20210902 (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.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/2a36e010c8f73cd5c36072caf7e63431a07f4aad
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Kyeongdon-Kim/media-uvcvideo-use-dynamic-allocation-for-uvc_copy_op/20210902-172043
git checkout 2a36e010c8f73cd5c36072caf7e63431a07f4aad
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=openrisc SHELL=/bin/bash drivers/media/usb/uvc/
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 drivers/media/usb/uvc/uvc_video.c:25:
drivers/media/usb/uvc/uvc_video.c: In function 'uvc_free_urb_cop':
>> drivers/media/usb/uvc/uvc_video.c:1619:26: error: 'uvc_urb' undeclared (first use in this function)
1619 | for_each_uvc_urb(uvc_urb, stream) {
| ^~~~~~~
drivers/media/usb/uvc/uvcvideo.h:654:15: note: in definition of macro 'for_each_uvc_urb'
654 | for ((uvc_urb) = &(uvc_streaming)->uvc_urb[0]; \
| ^~~~~~~
drivers/media/usb/uvc/uvc_video.c:1619:26: note: each undeclared identifier is reported only once for each function it appears in
1619 | for_each_uvc_urb(uvc_urb, stream) {
| ^~~~~~~
drivers/media/usb/uvc/uvcvideo.h:654:15: note: in definition of macro 'for_each_uvc_urb'
654 | for ((uvc_urb) = &(uvc_streaming)->uvc_urb[0]; \
| ^~~~~~~
drivers/media/usb/uvc/uvc_video.c: In function 'uvc_alloc_urb_cop':
drivers/media/usb/uvc/uvc_video.c:1631:26: error: 'uvc_urb' undeclared (first use in this function)
1631 | for_each_uvc_urb(uvc_urb, stream) {
| ^~~~~~~
drivers/media/usb/uvc/uvcvideo.h:654:15: note: in definition of macro 'for_each_uvc_urb'
654 | for ((uvc_urb) = &(uvc_streaming)->uvc_urb[0]; \
| ^~~~~~~
vim +/uvc_urb +1619 drivers/media/usb/uvc/uvc_video.c
1616
1617 static void uvc_free_urb_cop(struct uvc_streaming *stream)
1618 {
> 1619 for_each_uvc_urb(uvc_urb, stream) {
1620 if (uvc_urb->copy_operations) {
1621 kfree(uvc_urb->copy_operations);
1622 uvc_urb->copy_operations = NULL;
1623 }
1624 }
1625 }
1626
---
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: 40656 bytes --]
prev parent reply other threads:[~2021-09-02 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-02 8:49 Kyeongdon Kim
2021-09-02 15:18 ` kernel test robot
2021-09-02 17:30 ` 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=202109030141.Zr4MWIkV-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kyeongdon.kim@lge.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/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
all inboxes | Powered by JetHome®