From: kernel test robot <lkp@intel.com>
To: Kyeongdon Kim <kyeongdon.kim@lge.com>, laurent.pinchart@ideasonboard.com
Cc: llvm@lists.linux.dev, 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: Thu, 2 Sep 2021 23:18:51 +0800 [thread overview]
Message-ID: <202109022319.TJ8qL5q7-lkp@intel.com> (raw)
In-Reply-To: <20210902084940.15285-1-kyeongdon.kim@lge.com>
[-- Attachment #1: Type: text/plain, Size: 4022 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: i386-randconfig-a014-20210831 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c9948e9254fbb6ea00f66c7b4542311d21e060be)
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=clang make.cross O=build_dir ARCH=i386 SHELL=/bin/bash
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/usb/uvc/uvc_video.c:1619:19: error: use of undeclared identifier 'uvc_urb'
for_each_uvc_urb(uvc_urb, stream) {
^
>> drivers/media/usb/uvc/uvc_video.c:1619:19: error: use of undeclared identifier 'uvc_urb'
>> drivers/media/usb/uvc/uvc_video.c:1619:19: error: use of undeclared identifier 'uvc_urb'
drivers/media/usb/uvc/uvc_video.c:1620:7: error: use of undeclared identifier 'uvc_urb'
if (uvc_urb->copy_operations) {
^
drivers/media/usb/uvc/uvc_video.c:1621:10: error: use of undeclared identifier 'uvc_urb'
kfree(uvc_urb->copy_operations);
^
>> drivers/media/usb/uvc/uvc_video.c:1622:4: error: must use 'struct' tag to refer to type 'uvc_urb'
uvc_urb->copy_operations = NULL;
^
struct
>> drivers/media/usb/uvc/uvc_video.c:1622:11: error: expected identifier or '('
uvc_urb->copy_operations = NULL;
^
drivers/media/usb/uvc/uvc_video.c:1631:19: error: use of undeclared identifier 'uvc_urb'
for_each_uvc_urb(uvc_urb, stream) {
^
drivers/media/usb/uvc/uvc_video.c:1631:19: error: use of undeclared identifier 'uvc_urb'
drivers/media/usb/uvc/uvc_video.c:1631:19: error: use of undeclared identifier 'uvc_urb'
drivers/media/usb/uvc/uvc_video.c:1632:3: error: must use 'struct' tag to refer to type 'uvc_urb'
uvc_urb->copy_operations
^
struct
drivers/media/usb/uvc/uvc_video.c:1632:10: error: expected identifier or '('
uvc_urb->copy_operations
^
drivers/media/usb/uvc/uvc_video.c:1634:7: error: use of undeclared identifier 'uvc_urb'
if (uvc_urb->copy_operations == NULL)
^
13 errors generated.
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: 35291 bytes --]
next prev parent reply other threads:[~2021-09-02 15:19 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 [this message]
2021-09-02 17:30 ` kernel test robot
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=202109022319.TJ8qL5q7-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=llvm@lists.linux.dev \
--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®