Hi,

(for everyone's information:)

This error is caused by a missing patch [1] which is needed by this patchset.

The relevant patch has been reviewed and accepted but merging was delayed
until there is a driver actually using the formats which the patch adds.

I'll include the relevant patch in my next version of the patchset so we
will avoid this error next time.

[1] 
https://git.linuxtv.org/sailus/media_tree.git/commit/?h=packed12-postponed&id=549c02da6eed8dc4566632a9af9233bf99ba99d8

Best regards,
Todor

On 06/20/2017 01:30 PM, kbuild test robot wrote:
> Hi Todor,
> 
> [auto build test ERROR on linuxtv-media/master]
> [also build test ERROR on v4.12-rc6 next-20170620]
> [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/Todor-Tomov/Qualcomm-8x16-Camera-Subsystem-driver/20170620-132806
> base:   git://linuxtv.org/media_tree.git master
> config: ia64-allmodconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 6.2.0
> reproduce:
>         wget 
> https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
> ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # save the attached .config to linux build tree
>         make.cross ARCH=ia64 
> 
> All errors (new ones prefixed by >>):
> 
>>> drivers/media/platform/qcom/camss-8x16/video.c:53:32: error: 
>>> 'V4L2_PIX_FMT_SRGGB12P' undeclared here (not in a function)
>      { MEDIA_BUS_FMT_SBGGR12_1X12, V4L2_PIX_FMT_SRGGB12P, 12 },
>                                    ^~~~~~~~~~~~~~~~~~~~~
>>> drivers/media/platform/qcom/camss-8x16/video.c:54:32: error: 
>>> 'V4L2_PIX_FMT_SGBRG12P' undeclared here (not in a function)
>      { MEDIA_BUS_FMT_SGBRG12_1X12, V4L2_PIX_FMT_SGBRG12P, 12 },
>                                    ^~~~~~~~~~~~~~~~~~~~~
>>> drivers/media/platform/qcom/camss-8x16/video.c:55:32: error: 
>>> 'V4L2_PIX_FMT_SGRBG12P' undeclared here (not in a function)
>      { MEDIA_BUS_FMT_SGRBG12_1X12, V4L2_PIX_FMT_SGRBG12P, 12 },
>                                    ^~~~~~~~~~~~~~~~~~~~~
> 
> vim +/V4L2_PIX_FMT_SRGGB12P +53 drivers/media/platform/qcom/camss-8x16/video.c
> 
> 58991044 Todor Tomov 2017-06-19  47   { MEDIA_BUS_FMT_SGRBG8_1X8, 
> V4L2_PIX_FMT_SGRBG8, 8 },
> 58991044 Todor Tomov 2017-06-19  48   { MEDIA_BUS_FMT_SRGGB8_1X8, 
> V4L2_PIX_FMT_SRGGB8, 8 },
> 58991044 Todor Tomov 2017-06-19  49   { MEDIA_BUS_FMT_SBGGR10_1X10, 
> V4L2_PIX_FMT_SBGGR10P, 10 },
> 58991044 Todor Tomov 2017-06-19  50   { MEDIA_BUS_FMT_SGBRG10_1X10, 
> V4L2_PIX_FMT_SGBRG10P, 10 },
> 58991044 Todor Tomov 2017-06-19  51   { MEDIA_BUS_FMT_SGRBG10_1X10, 
> V4L2_PIX_FMT_SGRBG10P, 10 },
> 58991044 Todor Tomov 2017-06-19  52   { MEDIA_BUS_FMT_SRGGB10_1X10, 
> V4L2_PIX_FMT_SRGGB10P, 10 },
> 58991044 Todor Tomov 2017-06-19 @53   { MEDIA_BUS_FMT_SBGGR12_1X12, 
> V4L2_PIX_FMT_SRGGB12P, 12 },
> 58991044 Todor Tomov 2017-06-19 @54   { MEDIA_BUS_FMT_SGBRG12_1X12, 
> V4L2_PIX_FMT_SGBRG12P, 12 },
> 58991044 Todor Tomov 2017-06-19 @55   { MEDIA_BUS_FMT_SGRBG12_1X12, 
> V4L2_PIX_FMT_SGRBG12P, 12 },
> 58991044 Todor Tomov 2017-06-19  56   { MEDIA_BUS_FMT_SRGGB12_1X12, 
> V4L2_PIX_FMT_SRGGB12P, 12 }
> 58991044 Todor Tomov 2017-06-19  57  };
> 58991044 Todor Tomov 2017-06-19  58  
> 
> :::::: The code at line 53 was first introduced by commit
> :::::: 589910444c8d657c5d9992f6ebf1c0bf5a75e68a media: camss: Add files which 
> handle the video device nodes
> 
> :::::: TO: Todor Tomov <todor.to...@linaro.org>
> :::::: CC: 0day robot <fengguang...@intel.com>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 

-- 
Best regards,
Todor Tomov

Reply via email to