From: kernel test robot <lkp@intel.com>
To: Guo Zihao <guozh23@xiaopeng.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Hans Verkuil <hverkuil@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Liu Chao <liuc63@xiaopeng.com>
Subject: Re: [PATCH] media: cobalt: bound the dv timings to the descriptor buffers
Date: Sat, 19 Sep 2026 07:34:16 +0800 [thread overview]
Message-ID: <202609190745.z2mFq2RW-lkp@intel.com> (raw)
In-Reply-To: <20260918072526.2478529-1-guozh23@xiaopeng.com>
Hi Guo,
kernel test robot noticed the following build errors:
[auto build test ERROR on linuxtv-media-pending/master]
[also build test ERROR on media-tree/master sailus-media-tree/master linus/master v7.3-rc3 next-20260918]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Guo-Zihao/media-cobalt-bound-the-dv-timings-to-the-descriptor-buffers/20260918-152526
base: https://git.linuxtv.org/media-ci/media-pending.git master
patch link: https://lore.kernel.org/r/20260918072526.2478529-1-guozh23%40xiaopeng.com
patch subject: [PATCH] media: cobalt: bound the dv timings to the descriptor buffers
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260919/202609190745.z2mFq2RW-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 7252edd9aa82ef1c570ff6694ef7f4763a8a5d2f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260919/202609190745.z2mFq2RW-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609190745.z2mFq2RW-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/pci/cobalt/cobalt-v4l2.c:635:3: error: use of undeclared identifier 'cobalt'
635 | cobalt_info("timings %ux%u out of range\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
636 | timings->bt.width, timings->bt.height);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/pci/cobalt/cobalt-driver.h:160:45: note: expanded from macro 'cobalt_info'
160 | #define cobalt_info(fmt, arg...) v4l2_info(&cobalt->v4l2_dev, fmt, ## arg)
| ^~~~~~
1 error generated.
vim +/cobalt +635 drivers/media/pci/cobalt/cobalt-v4l2.c
615
616 static int cobalt_s_dv_timings(struct file *file, void *priv,
617 struct v4l2_dv_timings *timings)
618 {
619 struct cobalt_stream *s = video_drvdata(file);
620 int err;
621
622 if (s->input == 1) {
623 *timings = cea1080p60;
624 return 0;
625 }
626
627 if (v4l2_match_dv_timings(timings, &s->timings, 0, true))
628 return 0;
629
630 if (vb2_is_busy(&s->q))
631 return -EBUSY;
632
633 if (timings->bt.width > COBALT_MAX_WIDTH ||
634 timings->bt.height > COBALT_MAX_HEIGHT) {
> 635 cobalt_info("timings %ux%u out of range\n",
636 timings->bt.width, timings->bt.height);
637 return -EINVAL;
638 }
639
640 err = v4l2_subdev_call(s->sd,
641 pad, s_dv_timings, 0, timings);
642 if (!err) {
643 s->timings = *timings;
644 s->width = timings->bt.width;
645 s->height = timings->bt.height;
646 s->stride = timings->bt.width * s->bpp;
647 }
648 return err;
649 }
650
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-09-18 23:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 7:25 Guo Zihao
2026-09-18 23:34 ` kernel test robot [this message]
2026-09-19 1:51 ` 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=202609190745.z2mFq2RW-lkp@intel.com \
--to=lkp@intel.com \
--cc=guozh23@xiaopeng.com \
--cc=hverkuil@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=liuc63@xiaopeng.com \
--cc=llvm@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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®