From: kbuild test robot <lkp@intel.com>
To: Luis Oliveira <Luis.Oliveira@synopsys.com>
Cc: kbuild-all@01.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org, all-jpinto-org-pt02@synopsys.com,
Luis Oliveira <Luis.Oliveira@synopsys.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Hans Verkuil <hans.verkuil@cisco.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
Arnd Bergmann <arnd@arndb.de>, Jacob Chen <jacob-chen@iotwrt.com>,
Neil Armstrong <narmstrong@baylibre.com>,
Keiichi Watanabe <keiichiw@chromium.org>,
Kate Stewart <kstewart@linuxfoundation.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Todor Tomov <todor.tomov@linaro.org>
Subject: Re: [PATCH 3/5] media: platform: dwc: Add DW MIPI DPHY core and platform
Date: Sat, 15 Sep 2018 17:23:02 +0800 [thread overview]
Message-ID: <201809151702.5u06O0Qt%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180914224849.27173-4-lolivei@synopsys.com>
[-- Attachment #1: Type: text/plain, Size: 2079 bytes --]
Hi Luis,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.19-rc3 next-20180913]
[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/Luis-Oliveira/media-platform-Add-DesignWare-MIPI-CSI2-Host-placeholder/20180915-163514
base: git://linuxtv.org/media_tree.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=sh
Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings
All warnings (new ones prefixed by >>):
drivers/media/platform/dwc/dw-dphy-rx.c: In function 'dw_dphy_read':
>> drivers/media/platform/dwc/dw-dphy-rx.c:147:5: warning: 'dphy2' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (dphy1 != dphy2)
^
vim +/dphy2 +147 drivers/media/platform/dwc/dw-dphy-rx.c
132
133 u32 dw_dphy_read(struct dw_dphy_rx *dphy, u64 address)
134 {
135 u32 dphy1, dphy2;
136
137 dphy1 = ioread32(dphy->base_address + address);
138
139 if (dphy->lanes_config == CTRL_4_LANES)
140 goto end;
141
142 if (address == R_CSI2_DPHY_TST_CTRL0)
143 dphy2 = ioread32(dphy->base_address + R_CSI2_DPHY2_TST_CTRL0);
144 else if (address == R_CSI2_DPHY_TST_CTRL1)
145 dphy2 = ioread32(dphy->base_address + R_CSI2_DPHY2_TST_CTRL1);
146
> 147 if (dphy1 != dphy2)
148 pr_err("Values read different for each dphy\n");
149
150 end:
151 return dphy1;
152 }
153
---
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: 49563 bytes --]
next prev parent reply other threads:[~2018-09-15 9:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-14 22:48 [PATCH 0/5] platform: dwc: Add of DesignWare MIPI CSI-2 Host Luis Oliveira
2018-09-14 22:48 ` [PATCH 1/5] media: platform: Add DesignWare MIPI CSI2 Host placeholder Luis Oliveira
2018-09-15 12:16 ` kbuild test robot
2018-09-15 12:34 ` kbuild test robot
2018-09-14 22:48 ` [PATCH 2/5] Documentation: dt-bindings: Document the Synopsys MIPI DPHY Rx bindings Luis Oliveira
2018-09-14 22:48 ` [PATCH 3/5] media: platform: dwc: Add DW MIPI DPHY core and platform Luis Oliveira
2018-09-15 9:23 ` kbuild test robot [this message]
2018-09-14 22:48 ` [PATCH 4/5] Documentation: dt-bindings: Document bindings for DW MIPI CSI-2 Host Luis Oliveira
2018-09-14 22:48 ` [PATCH 5/5] media: platform: dwc: Add MIPI CSI-2 controller driver Luis Oliveira
2018-09-19 19:03 ` Fabio Estevam
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=201809151702.5u06O0Qt%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=Luis.Oliveira@synopsys.com \
--cc=all-jpinto-org-pt02@synopsys.com \
--cc=arnd@arndb.de \
--cc=geert+renesas@glider.be \
--cc=hans.verkuil@cisco.com \
--cc=jacob-chen@iotwrt.com \
--cc=kbuild-all@01.org \
--cc=keiichiw@chromium.org \
--cc=kstewart@linuxfoundation.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=narmstrong@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=todor.tomov@linaro.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
all inboxes | Powered by JetHome®