tree: git://linuxtv.org/media_tree.git master head: 76485d8e04c337bcab90f62975a3db740c8c2dd4 commit: a77bf7048addfbd59ec2208f3172207d90d42c9a [2285/2289] v4l2-mc.h: Add stubs for the V4L2 PM/pipeline routines config: arm-at91_dt_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout a77bf7048addfbd59ec2208f3172207d90d42c9a # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): In file included from drivers/media/v4l2-core/v4l2-ioctl.c:30:0: >> include/media/v4l2-mc.h:233:1: error: expected identifier or '(' before '{' token { ^ include/media/v4l2-mc.h:239:1: error: expected identifier or '(' before '{' token { ^ include/media/v4l2-mc.h:222:13: warning: 'v4l_disable_media_source' defined but not used [-Wunused-function] static void v4l_disable_media_source(struct video_device *vdev) ^ include/media/v4l2-mc.h:227:12: warning: 'v4l_vb2q_enable_media_source' defined but not used [-Wunused-function] static int v4l_vb2q_enable_media_source(struct vb2_queue *q) ^ -- In file included from drivers/media/v4l2-core/v4l2-fh.c:32:0: >> include/media/v4l2-mc.h:233:1: error: expected identifier or '(' before '{' token { ^ include/media/v4l2-mc.h:239:1: error: expected identifier or '(' before '{' token { ^ include/media/v4l2-mc.h:217:12: warning: 'v4l_enable_media_source' defined but not used [-Wunused-function] static int v4l_enable_media_source(struct video_device *vdev) ^ include/media/v4l2-mc.h:227:12: warning: 'v4l_vb2q_enable_media_source' defined but not used [-Wunused-function] static int v4l_vb2q_enable_media_source(struct vb2_queue *q) ^ -- In file included from drivers/media/v4l2-core/videobuf2-core.c:28:0: >> include/media/v4l2-mc.h:233:1: error: expected identifier or '(' before '{' token { ^ include/media/v4l2-mc.h:239:1: error: expected identifier or '(' before '{' token { ^ include/media/v4l2-mc.h:217:12: warning: 'v4l_enable_media_source' defined but not used [-Wunused-function] static int v4l_enable_media_source(struct video_device *vdev) ^ include/media/v4l2-mc.h:222:13: warning: 'v4l_disable_media_source' defined but not used [-Wunused-function] static void v4l_disable_media_source(struct video_device *vdev) ^ vim +233 include/media/v4l2-mc.h 227 static int v4l_vb2q_enable_media_source(struct vb2_queue *q) 228 { 229 return 0; 230 } 231 232 int v4l2_pipeline_pm_use(struct media_entity *entity, int use); > 233 { 234 return 0; 235 } 236 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data