From: kbuild test robot <lkp@intel.com>
To: Jonathan Liu <net147@gmail.com>
Cc: kbuild-all@01.org,
Maxime Ripard <maxime.ripard@free-electrons.com>,
David Airlie <airlied@linux.ie>, Chen-Yu Tsai <wens@csie.org>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@googlegroups.com, Jonathan Liu <net147@gmail.com>
Subject: Re: [PATCH v5] drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus
Date: Thu, 29 Jun 2017 06:06:47 +0800 [thread overview]
Message-ID: <201706290511.fnS8VkKo%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170627143652.13075-1-net147@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2167 bytes --]
Hi Jonathan,
[auto build test WARNING on next-20170627]
[cannot apply to v4.12-rc7 v4.12-rc6 v4.12-rc5 v4.12-rc7]
[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/Jonathan-Liu/drm-sun4i-hdmi-Implement-I2C-adapter-for-A10s-DDC-bus/20170629-001335
config: arm-sunxi_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=arm
All warnings (new ones prefixed by >>):
drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c: In function 'fifo_transfer':
>> drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c:65:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int level = (int)(fifo_status & SUN4I_HDMI_DDC_FIFO_STATUS_LEVEL_MASK);
^~~
vim +65 drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c
49 int ret;
50
51 /* Wait until error or FIFO ready */
52 ret = readl_poll_timeout(hdmi->base + SUN4I_HDMI_DDC_INT_STATUS_REG,
53 int_status,
54 is_err_status(int_status) ||
55 is_fifo_flag_unset(hdmi, &fifo_status, flag),
56 min(len, SUN4I_HDMI_DDC_FIFO_SIZE) * byte_time,
57 100000);
58
59 if (is_err_status(int_status))
60 return -EIO;
61 if (ret)
62 return -ETIMEDOUT;
63
64 /* Read FIFO level */
> 65 int level = (int)(fifo_status & SUN4I_HDMI_DDC_FIFO_STATUS_LEVEL_MASK);
66
67 /* Limit transfer length using FIFO level to avoid underflow/overflow */
68 len = min(len, read ? level : (SUN4I_HDMI_DDC_FIFO_SIZE - level));
69
70 if (read)
71 readsb(hdmi->base + SUN4I_HDMI_DDC_FIFO_DATA_REG, buf, len);
72 else
73 writesb(hdmi->base + SUN4I_HDMI_DDC_FIFO_DATA_REG, buf, len);
---
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: 21231 bytes --]
prev parent reply other threads:[~2017-06-28 22:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-27 14:36 [PATCH v5] drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus Jonathan Liu
2017-06-28 9:20 ` Maxime Ripard
2017-06-28 10:39 ` Jonathan Liu
2017-06-29 15:56 ` Maxime Ripard
2017-06-29 22:22 ` Jonathan Liu
2017-06-30 3:16 ` Chen-Yu Tsai
2017-06-30 14:14 ` Jonathan Liu
2017-06-30 16:01 ` Maxime Ripard
2017-06-30 9:34 ` Maxime Ripard
2017-06-30 9:58 ` Jonathan Liu
2017-07-01 6:29 ` Jonathan Liu
2017-06-28 22:06 ` kbuild test robot [this message]
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=201706290511.fnS8VkKo%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=kbuild-all@01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=maxime.ripard@free-electrons.com \
--cc=net147@gmail.com \
--cc=wens@csie.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;
as well as URLs for NNTP newsgroup(s).