* [ti:ti-rt-linux-5.10.y 9732/9999] drivers/media/platform/vxe-vxd/decoder/bspp.c:194:40: error: initialization of 'int (*)(enum vdec_bstr_format, struct bspp_vid_std_features *, struct bspp_swsr_ctx *, struct bspp_parser_callbacks *, struct bspp_inter_pict_data *)' from incompatible point...
@ 2022-01-20 18:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-20 18:57 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 15786 bytes --]
Hi LCPD,
First bad commit (maybe != root cause):
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.10.y
head: 2c79f99170b96e20b59e6bc5363747564aee4898
commit: 18fa57b6524a8135871b9bcf9b8af07f888ddcd2 [9732/9999] Merged TI feature linux_rt-5.10 into ti-rt-linux-5.10.y
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20220121/202201210248.9231rNCl-lkp(a)intel.com/config)
compiler: riscv64-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
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.10.y
git checkout 18fa57b6524a8135871b9bcf9b8af07f888ddcd2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash drivers/media/platform/vxe-vxd/
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 >>):
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[1].<anonymous>')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:188:11: note: in expansion of macro 'NULL'
188 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:188:17: note: in expansion of macro 'NULL'
188 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[1]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:188:17: note: in expansion of macro 'NULL'
188 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:190:11: note: in expansion of macro 'NULL'
190 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[2]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:190:11: note: in expansion of macro 'NULL'
190 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: invalid initializer
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:190:11: note: in expansion of macro 'NULL'
190 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[2].<anonymous>')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:190:11: note: in expansion of macro 'NULL'
190 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:190:17: note: in expansion of macro 'NULL'
190 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[2]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:190:17: note: in expansion of macro 'NULL'
190 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:192:11: note: in expansion of macro 'NULL'
192 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[3]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:192:11: note: in expansion of macro 'NULL'
192 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: invalid initializer
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:192:11: note: in expansion of macro 'NULL'
192 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[3].<anonymous>')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:192:11: note: in expansion of macro 'NULL'
192 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:192:17: note: in expansion of macro 'NULL'
192 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[3]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:192:17: note: in expansion of macro 'NULL'
192 | { NULL, NULL },
| ^~~~
drivers/media/platform/vxe-vxd/decoder/bspp.c:194:11: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
194 | { bspp_h264_set_parser_config, bspp_h264_determine_unittype },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/vxe-vxd/decoder/bspp.c:194:11: note: (near initialization for 'parser_fxns[4]')
drivers/media/platform/vxe-vxd/decoder/bspp.c:194:11: error: invalid initializer
drivers/media/platform/vxe-vxd/decoder/bspp.c:194:11: note: (near initialization for 'parser_fxns[4].<anonymous>')
drivers/media/platform/vxe-vxd/decoder/bspp.c:194:40: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
194 | { bspp_h264_set_parser_config, bspp_h264_determine_unittype },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/vxe-vxd/decoder/bspp.c:194:40: note: (near initialization for 'parser_fxns[4]')
>> drivers/media/platform/vxe-vxd/decoder/bspp.c:194:40: error: initialization of 'int (*)(enum vdec_bstr_format, struct bspp_vid_std_features *, struct bspp_swsr_ctx *, struct bspp_parser_callbacks *, struct bspp_inter_pict_data *)' from incompatible pointer type 'void (*)(unsigned char, int, enum bspp_unit_type *)' [-Werror=incompatible-pointer-types]
drivers/media/platform/vxe-vxd/decoder/bspp.c:194:40: note: (near initialization for 'parser_fxns[4].set_parser_config')
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/linux/kasan-checks.h:5,
from include/asm-generic/rwonce.h:26,
from ./arch/riscv/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:248,
from arch/riscv/include/asm/bug.h:9,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from drivers/media/platform/vxe-vxd/decoder/bspp.c:16:
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:196:11: note: in expansion of macro 'NULL'
196 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[5]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:196:11: note: in expansion of macro 'NULL'
196 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: invalid initializer
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:196:11: note: in expansion of macro 'NULL'
196 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[5].<anonymous>')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:196:11: note: in expansion of macro 'NULL'
196 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:196:17: note: in expansion of macro 'NULL'
196 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[5]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:196:17: note: in expansion of macro 'NULL'
196 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:198:11: note: in expansion of macro 'NULL'
198 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[6]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:198:11: note: in expansion of macro 'NULL'
198 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: invalid initializer
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:198:11: note: in expansion of macro 'NULL'
198 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[6].<anonymous>')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:198:11: note: in expansion of macro 'NULL'
198 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:198:17: note: in expansion of macro 'NULL'
198 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[6]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:198:17: note: in expansion of macro 'NULL'
198 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:200:11: note: in expansion of macro 'NULL'
200 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: note: (near initialization for 'parser_fxns[7]')
8 | #define NULL ((void *)0)
| ^
drivers/media/platform/vxe-vxd/decoder/bspp.c:200:11: note: in expansion of macro 'NULL'
200 | { NULL, NULL },
| ^~~~
include/linux/stddef.h:8:14: error: invalid initializer
8 | #define NULL ((void *)0)
vim +194 drivers/media/platform/vxe-vxd/decoder/bspp.c
b8acc66aa7f09d9 Sidraya 2021-11-02 183
b8acc66aa7f09d9 Sidraya 2021-11-02 184 static struct bspp_parser_functions parser_fxns[VDEC_STD_MAX] = {
b8acc66aa7f09d9 Sidraya 2021-11-02 185 /* VDEC_STD_UNDEFINED */
b8acc66aa7f09d9 Sidraya 2021-11-02 186 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 187 /* VDEC_STD_MPEG2 */
b8acc66aa7f09d9 Sidraya 2021-11-02 188 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 189 /* VDEC_STD_MPEG4 */
b8acc66aa7f09d9 Sidraya 2021-11-02 190 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 191 /* VDEC_STD_H263 */
b8acc66aa7f09d9 Sidraya 2021-11-02 192 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 193 /* VDEC_STD_H264 */
b8acc66aa7f09d9 Sidraya 2021-11-02 @194 { bspp_h264_set_parser_config, bspp_h264_determine_unittype },
b8acc66aa7f09d9 Sidraya 2021-11-02 195 /* VDEC_STD_VC1 */
b8acc66aa7f09d9 Sidraya 2021-11-02 196 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 197 /* VDEC_STD_AVS */
b8acc66aa7f09d9 Sidraya 2021-11-02 198 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 199 /* VDEC_STD_REAL */
b8acc66aa7f09d9 Sidraya 2021-11-02 200 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 201 /* VDEC_STD_JPEG */
b8acc66aa7f09d9 Sidraya 2021-11-02 202 #ifdef HAS_JPEG
b8acc66aa7f09d9 Sidraya 2021-11-02 203 { bspp_jpeg_setparser_config, bspp_jpeg_determine_unit_type },
b8acc66aa7f09d9 Sidraya 2021-11-02 204 #else
b8acc66aa7f09d9 Sidraya 2021-11-02 205 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 206 #endif
b8acc66aa7f09d9 Sidraya 2021-11-02 207 /* VDEC_STD_VP6 */
b8acc66aa7f09d9 Sidraya 2021-11-02 208 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 209 /* VDEC_STD_VP8 */
b8acc66aa7f09d9 Sidraya 2021-11-02 210 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 211 /* VDEC_STD_SORENSON */
b8acc66aa7f09d9 Sidraya 2021-11-02 212 { NULL, NULL },
b8acc66aa7f09d9 Sidraya 2021-11-02 213 /* VDEC_STD_HEVC */
b8acc66aa7f09d9 Sidraya 2021-11-02 214 { bspp_hevc_set_parser_config, bspp_hevc_determine_unittype },
b8acc66aa7f09d9 Sidraya 2021-11-02 215 };
b8acc66aa7f09d9 Sidraya 2021-11-02 216
:::::: The code at line 194 was first introduced by commit
:::::: b8acc66aa7f09d97e22bab43b10a2501152580f5 v4l: vxd-dec: Add Bistream Preparser (BSPP) module for H264.
:::::: TO: Sidraya <sidraya.bj@pathpartnertech.com>
:::::: CC: Praneeth Bajjuri <praneeth@ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-20 18:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-20 18:57 [ti:ti-rt-linux-5.10.y 9732/9999] drivers/media/platform/vxe-vxd/decoder/bspp.c:194:40: error: initialization of 'int (*)(enum vdec_bstr_format, struct bspp_vid_std_features *, struct bspp_swsr_ctx *, struct bspp_parser_callbacks *, struct bspp_inter_pict_data *)' from incompatible point kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.