Re: [PATCH] smiapp: add CCP2 support

kbuild test robot
2017-02-12T14:43:42Z

[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]

Hi Pavel,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.10-rc7 next-20170210]
[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/Pavel-Machek/smiapp-add-CCP2-support/20170208-214729
base: git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-it0-02122030 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/media/i2c/smiapp/smiapp-core.c: In function 'smiapp_get_hwconfig':
drivers/media/i2c/smiapp/smiapp-core.c:2812:7: error: 'V4L2_MBUS_CCP2' undeclared (first use in this function)
case V4L2_MBUS_CCP2:
^
drivers/media/i2c/smiapp/smiapp-core.c:2812:7: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/media/i2c/smiapp/smiapp-core.c:2813:45: error: 'union <anonymous>' has no member named 'mipi_csi1'
hwcfg->csi_signalling_mode = (bus_cfg->bus.mipi_csi1.strobe) ?
^

vim +2813 drivers/media/i2c/smiapp/smiapp-core.c

2806
2807 switch (bus_cfg->bus_type) {
2808 case V4L2_MBUS_CSI2:
2809 hwcfg->csi_signalling_mode = SMIAPP_CSI_SIGNALLING_MODE_CSI2;
2810 hwcfg->lanes = bus_cfg->bus.mipi_csi2.num_data_lanes;
2811 break;
> 2812 case V4L2_MBUS_CCP2:
> 2813 hwcfg->csi_signalling_mode = (bus_cfg->bus.mipi_csi1.strobe) ?
2814 SMIAPP_CSI_SIGNALLING_MODE_CCP2_DATA_STROBE :
2815 SMIAPP_CSI_SIGNALLING_MODE_CCP2_DATA_CLOCK;
2816 hwcfg->lanes = 1;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27547 bytes --]