Re: [PATCH v3] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder
From: kbuild test robot
Date: Thu Aug 04 2016 - 08:14:03 EST
Hi Tiffany,
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on next-20160804]
[cannot apply to v4.7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Tiffany-Lin/vcodec-mediatek-Add-g-s_selection-support-for-V4L2-Encoder/20160804-181402
base: git://linuxtv.org/media_tree.git master
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c: In function 'vidioc_venc_s_selection':
>> drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:680:9: error: implicit declaration of function 'v4l2_s_selection' [-Werror=implicit-function-declaration]
err = v4l2_s_selection(s, &r);
^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/v4l2_s_selection +680 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
674 case V4L2_SEL_TGT_CROP:
675 /* Only support crop from (0,0) */
676 s->r.top = 0;
677 s->r.left = 0;
678 r.width = min(r.width, q_data->coded_width);
679 r.height = min(r.height, q_data->coded_height);
> 680 err = v4l2_s_selection(s, &r);
681 if (err)
682 return err;
683 q_data->visible_width = s->r.width;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data