* Re: [PATCH] media: cobalt: bound the dv timings to the descriptor buffers
2026-09-18 7:25 [PATCH] media: cobalt: bound the dv timings to the descriptor buffers Guo Zihao
@ 2026-09-18 23:34 ` kernel test robot
2026-09-19 1:51 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-09-18 23:34 UTC (permalink / raw)
To: Guo Zihao, Mauro Carvalho Chehab, Hans Verkuil
Cc: llvm, oe-kbuild-all, linux-media, linux-kernel, Liu Chao
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] media: cobalt: bound the dv timings to the descriptor buffers
2026-09-18 7:25 [PATCH] media: cobalt: bound the dv timings to the descriptor buffers Guo Zihao
2026-09-18 23:34 ` kernel test robot
@ 2026-09-19 1:51 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-09-19 1:51 UTC (permalink / raw)
To: Guo Zihao, Mauro Carvalho Chehab, Hans Verkuil
Cc: oe-kbuild-all, linux-media, linux-kernel, Liu Chao
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 sailus-media-tree/streams 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: arm-randconfig-r1300-20260918 (https://download.01.org/0day-ci/archive/20260919/202609190912.ouKMS0Bi-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260919/202609190912.ouKMS0Bi-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/202609190912.ouKMS0Bi-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:31,
from arch/arm/include/asm/bug.h:60,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
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 include/linux/dma-mapping.h:5,
from drivers/media/pci/cobalt/cobalt-v4l2.c:11:
drivers/media/pci/cobalt/cobalt-v4l2.c: In function 'cobalt_s_dv_timings':
>> drivers/media/pci/cobalt/cobalt-driver.h:160:45: error: 'cobalt' undeclared (first use in this function)
160 | #define cobalt_info(fmt, arg...) v4l2_info(&cobalt->v4l2_dev, fmt, ## arg)
| ^~~~~~
include/linux/printk.h:483:33: note: in definition of macro 'printk_index_wrap'
483 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/media/v4l2-common.h:58:9: note: in expansion of macro 'printk'
58 | printk(level "%s: " fmt, (dev)->name , ## arg)
| ^~~~~~
include/media/v4l2-common.h:67:9: note: in expansion of macro 'v4l2_printk'
67 | v4l2_printk(KERN_INFO, dev, fmt , ## arg)
| ^~~~~~~~~~~
drivers/media/pci/cobalt/cobalt-driver.h:160:34: note: in expansion of macro 'v4l2_info'
160 | #define cobalt_info(fmt, arg...) v4l2_info(&cobalt->v4l2_dev, fmt, ## arg)
| ^~~~~~~~~
drivers/media/pci/cobalt/cobalt-v4l2.c:635:17: note: in expansion of macro 'cobalt_info'
635 | cobalt_info("timings %ux%u out of range\n",
| ^~~~~~~~~~~
drivers/media/pci/cobalt/cobalt-driver.h:160:45: note: each undeclared identifier is reported only once for each function it appears in
160 | #define cobalt_info(fmt, arg...) v4l2_info(&cobalt->v4l2_dev, fmt, ## arg)
| ^~~~~~
include/linux/printk.h:483:33: note: in definition of macro 'printk_index_wrap'
483 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/media/v4l2-common.h:58:9: note: in expansion of macro 'printk'
58 | printk(level "%s: " fmt, (dev)->name , ## arg)
| ^~~~~~
include/media/v4l2-common.h:67:9: note: in expansion of macro 'v4l2_printk'
67 | v4l2_printk(KERN_INFO, dev, fmt , ## arg)
| ^~~~~~~~~~~
drivers/media/pci/cobalt/cobalt-driver.h:160:34: note: in expansion of macro 'v4l2_info'
160 | #define cobalt_info(fmt, arg...) v4l2_info(&cobalt->v4l2_dev, fmt, ## arg)
| ^~~~~~~~~
drivers/media/pci/cobalt/cobalt-v4l2.c:635:17: note: in expansion of macro 'cobalt_info'
635 | cobalt_info("timings %ux%u out of range\n",
| ^~~~~~~~~~~
vim +/cobalt +160 drivers/media/pci/cobalt/cobalt-driver.h
85756a069c55e0 Hans Verkuil 2015-05-12 157
85756a069c55e0 Hans Verkuil 2015-05-12 158 #define cobalt_err(fmt, arg...) v4l2_err(&cobalt->v4l2_dev, fmt, ## arg)
85756a069c55e0 Hans Verkuil 2015-05-12 159 #define cobalt_warn(fmt, arg...) v4l2_warn(&cobalt->v4l2_dev, fmt, ## arg)
85756a069c55e0 Hans Verkuil 2015-05-12 @160 #define cobalt_info(fmt, arg...) v4l2_info(&cobalt->v4l2_dev, fmt, ## arg)
85756a069c55e0 Hans Verkuil 2015-05-12 161 #define cobalt_dbg(level, fmt, arg...) \
85756a069c55e0 Hans Verkuil 2015-05-12 162 v4l2_dbg(level, cobalt_debug, &cobalt->v4l2_dev, fmt, ## arg)
85756a069c55e0 Hans Verkuil 2015-05-12 163
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread