Re: [PATCH v1 1/3] media: v4l: Add VP8 format support in V4L2 framework

From: kbuild test robot
Date: Tue Jan 26 2016 - 04:17:30 EST


Hi zhaojun,

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.5-rc1 next-20160125]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Jung-Zhao/Add-VP8-deocder-for-rk3229-rk3288/20160126-170940
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: x86_64-randconfig-x012-01260845 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/media/v4l2-core/v4l2-ctrls.c: In function 'v4l2_ctrl_new':
>> drivers/media/v4l2-core/v4l2-ctrls.c:1994:28: error: 'V4L2_CTRL_FLAG_REQ_KEEP' undeclared (first use in this function)
if ((is_array || (flags & V4L2_CTRL_FLAG_REQ_KEEP)) &&
^
drivers/media/v4l2-core/v4l2-ctrls.c:1994:28: note: each undeclared identifier is reported only once for each function it appears in

vim +/V4L2_CTRL_FLAG_REQ_KEEP +1994 drivers/media/v4l2-core/v4l2-ctrls.c

1988 return NULL;
1989 }
1990 if (type == V4L2_CTRL_TYPE_BITMASK && ((def & ~max) || min || step)) {
1991 handler_set_err(hdl, -ERANGE);
1992 return NULL;
1993 }
> 1994 if ((is_array || (flags & V4L2_CTRL_FLAG_REQ_KEEP)) &&
1995 (type == V4L2_CTRL_TYPE_BUTTON ||
1996 type == V4L2_CTRL_TYPE_CTRL_CLASS)) {
1997 handler_set_err(hdl, -EINVAL);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data