Re: [PATCH 3/5] media: iris: Add support for AV1 format in iris decoder
From: kernel test robot
Date: Thu Oct 02 2025 - 04:58:10 EST
Hi Deepa,
kernel test robot noticed the following build errors:
[auto build test ERROR on afb100a5ea7a13d7e6937dcd3b36b19dc6cc9328]
url: https://github.com/intel-lab-lkp/linux/commits/Deepa-Guthyappa-Madivalara/media-uapi-videodev2-Add-support-for-AV1-stateful-decoder/20251002-030314
base: afb100a5ea7a13d7e6937dcd3b36b19dc6cc9328
patch link: https://lore.kernel.org/r/20251001-av1_irisdecoder-v1-3-9fb08f3b96a0%40oss.qualcomm.com
patch subject: [PATCH 3/5] media: iris: Add support for AV1 format in iris decoder
config: s390-randconfig-001-20251002 (https://download.01.org/0day-ci/archive/20251002/202510021620.4BVCZwgf-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251002/202510021620.4BVCZwgf-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510021620.4BVCZwgf-lkp@xxxxxxxxx/
All error/warnings (new ones prefixed by >>):
>> drivers/media/platform/qcom/iris/iris_platform_sm8250.c:20:24: error: array type has incomplete element type 'struct iris_fmt'
20 | static struct iris_fmt platform_fmts_sm8250_dec[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/qcom/iris/iris_platform_sm8250.c:21:10: error: 'IRIS_FMT_H264' undeclared here (not in a function)
21 | [IRIS_FMT_H264] = {
| ^~~~~~~~~~~~~
>> drivers/media/platform/qcom/iris/iris_platform_sm8250.c:25:10: error: 'IRIS_FMT_HEVC' undeclared here (not in a function)
25 | [IRIS_FMT_HEVC] = {
| ^~~~~~~~~~~~~
>> drivers/media/platform/qcom/iris/iris_platform_sm8250.c:29:10: error: 'IRIS_FMT_VP9' undeclared here (not in a function)
29 | [IRIS_FMT_VP9] = {
| ^~~~~~~~~~~~
In file included from include/linux/dev_printk.h:14,
from include/linux/device.h:15,
from include/linux/pm_domain.h:11,
from drivers/media/platform/qcom/iris/iris_core.h:10,
from drivers/media/platform/qcom/iris/iris_platform_sm8250.c:6:
include/linux/compiler.h:197:82: error: expression in static assertion is not an integer
197 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);}))
| ^
include/linux/compiler.h:202:33: note: in expansion of macro '__BUILD_BUG_ON_ZERO_MSG'
202 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/array_size.h:11:59: note: in expansion of macro '__must_be_array'
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~~~~~~~~~~~
drivers/media/platform/qcom/iris/iris_platform_sm8250.c:356:32: note: in expansion of macro 'ARRAY_SIZE'
356 | .inst_iris_fmts_size = ARRAY_SIZE(platform_fmts_sm8250_dec),
| ^~~~~~~~~~
>> drivers/media/platform/qcom/iris/iris_platform_sm8250.c:20:24: warning: 'platform_fmts_sm8250_dec' defined but not used [-Wunused-variable]
20 | static struct iris_fmt platform_fmts_sm8250_dec[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +20 drivers/media/platform/qcom/iris/iris_platform_sm8250.c
19
> 20 static struct iris_fmt platform_fmts_sm8250_dec[] = {
> 21 [IRIS_FMT_H264] = {
22 .pixfmt = V4L2_PIX_FMT_H264,
23 .type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,
24 },
> 25 [IRIS_FMT_HEVC] = {
26 .pixfmt = V4L2_PIX_FMT_HEVC,
27 .type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,
28 },
> 29 [IRIS_FMT_VP9] = {
30 .pixfmt = V4L2_PIX_FMT_VP9,
31 .type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,
32 }
33 };
34
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki