From: kbuild test robot <lkp@intel.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: kbuild-all@01.org, sakari.ailus@iki.fi, sre@kernel.org,
pali.rohar@gmail.com, pavel@ucw.cz, linux-media@vger.kernel.org,
kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] v4l: add support for CSI-1 bus
Date: Thu, 29 Dec 2016 05:41:23 +0800 [thread overview]
Message-ID: <201612290559.HMqG0fCu%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161228183116.GA13407@amd>
[-- Attachment #1: Type: text/plain, Size: 3177 bytes --]
Hi Sakari,
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.10-rc1 next-20161224]
[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/v4l-add-support-for-CSI-1-bus/20161229-043410
base: git://linuxtv.org/media_tree.git master
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/media/platform/pxa_camera.c: In function 'pxa_mbus_config_compatible':
>> drivers/media/platform/pxa_camera.c:595:2: warning: enumeration value 'V4L2_MBUS_CSI1' not handled in switch [-Wswitch]
switch (cfg->type) {
^~~~~~
>> drivers/media/platform/pxa_camera.c:595:2: warning: enumeration value 'V4L2_MBUS_CCP2' not handled in switch [-Wswitch]
vim +/V4L2_MBUS_CSI1 +595 drivers/media/platform/pxa_camera.c
34b27b13 Hans Verkuil 2016-09-11 579
34b27b13 Hans Verkuil 2016-09-11 580 static const struct pxa_mbus_pixelfmt *pxa_mbus_get_fmtdesc(
34b27b13 Hans Verkuil 2016-09-11 581 u32 code)
34b27b13 Hans Verkuil 2016-09-11 582 {
34b27b13 Hans Verkuil 2016-09-11 583 return pxa_mbus_find_fmtdesc(code, mbus_fmt, ARRAY_SIZE(mbus_fmt));
34b27b13 Hans Verkuil 2016-09-11 584 }
34b27b13 Hans Verkuil 2016-09-11 585
34b27b13 Hans Verkuil 2016-09-11 586 static unsigned int pxa_mbus_config_compatible(const struct v4l2_mbus_config *cfg,
34b27b13 Hans Verkuil 2016-09-11 587 unsigned int flags)
34b27b13 Hans Verkuil 2016-09-11 588 {
34b27b13 Hans Verkuil 2016-09-11 589 unsigned long common_flags;
34b27b13 Hans Verkuil 2016-09-11 590 bool hsync = true, vsync = true, pclk, data, mode;
34b27b13 Hans Verkuil 2016-09-11 591 bool mipi_lanes, mipi_clock;
34b27b13 Hans Verkuil 2016-09-11 592
34b27b13 Hans Verkuil 2016-09-11 593 common_flags = cfg->flags & flags;
34b27b13 Hans Verkuil 2016-09-11 594
34b27b13 Hans Verkuil 2016-09-11 @595 switch (cfg->type) {
34b27b13 Hans Verkuil 2016-09-11 596 case V4L2_MBUS_PARALLEL:
34b27b13 Hans Verkuil 2016-09-11 597 hsync = common_flags & (V4L2_MBUS_HSYNC_ACTIVE_HIGH |
34b27b13 Hans Verkuil 2016-09-11 598 V4L2_MBUS_HSYNC_ACTIVE_LOW);
34b27b13 Hans Verkuil 2016-09-11 599 vsync = common_flags & (V4L2_MBUS_VSYNC_ACTIVE_HIGH |
34b27b13 Hans Verkuil 2016-09-11 600 V4L2_MBUS_VSYNC_ACTIVE_LOW);
34b27b13 Hans Verkuil 2016-09-11 601 /* fall through */
34b27b13 Hans Verkuil 2016-09-11 602 case V4L2_MBUS_BT656:
34b27b13 Hans Verkuil 2016-09-11 603 pclk = common_flags & (V4L2_MBUS_PCLK_SAMPLE_RISING |
:::::: The code at line 595 was first introduced by commit
:::::: 34b27b13a2cd43e0d27e3ce13b96119efbbbedbc [media] pxa_camera: merge soc_mediabus.c into pxa_camera.c
:::::: TO: Hans Verkuil <hans.verkuil@cisco.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@s-opensource.com>
---
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: 57924 bytes --]
next prev parent reply other threads:[~2016-12-28 21:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-28 18:31 [PATCH] v4l: add support for CSI-1 bus Pavel Machek
2016-12-28 21:41 ` kbuild test robot [this message]
2017-01-02 7:04 ` Sakari Ailus
2017-01-12 10:24 ` [PATCHv2] v4l: split lane parsing code Pavel Machek
2017-02-11 22:08 ` Sakari Ailus
2017-02-12 13:37 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201612290559.HMqG0fCu%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=pali.rohar@gmail.com \
--cc=pavel@ucw.cz \
--cc=sakari.ailus@iki.fi \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox