From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@st.com>,
Wolfram Sang <wsa@the-dreams.de>,
Pierre-Yves MORDRET <pierre-yves.mordret@st.com>,
linux-i2c@vger.kernel.org, devicetree@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 2/2] i2c: i2c-stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7
Date: Sun, 18 Nov 2018 15:05:43 +0800 [thread overview]
Message-ID: <201811181524.WpzzWNmB%fengguang.wu@intel.com> (raw)
In-Reply-To: <1542370822-14721-3-git-send-email-pierre-yves.mordret@st.com>
[-- Attachment #1: Type: text/plain, Size: 2251 bytes --]
Hi Pierre-Yves,
I love your patch! Yet something to improve:
[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.20-rc2 next-20181116]
[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/Pierre-Yves-MORDRET/SYSCFG-Fast-Mode-Plus-support-for-I2C-STM32F7/20181118-135056
base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: s390-allmodconfig (attached as .config)
compiler: s390x-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=s390
All errors (new ones prefixed by >>):
drivers/i2c/busses/i2c-stm32f7.c: In function 'stm32f7_i2c_setup_fm_plus_bits':
>> drivers/i2c/busses/i2c-stm32f7.c:1790:9: error: implicit declaration of function 'regmap_update_bits'; did you mean 'set_pgste_bits'? [-Werror=implicit-function-declaration]
return regmap_update_bits(i2c_dev->regmap, reg, mask, mask);
^~~~~~~~~~~~~~~~~~
set_pgste_bits
cc1: some warnings being treated as errors
vim +1790 drivers/i2c/busses/i2c-stm32f7.c
1768
1769 static int stm32f7_i2c_setup_fm_plus_bits(struct platform_device *pdev,
1770 struct stm32f7_i2c_dev *i2c_dev)
1771 {
1772 struct device_node *np = pdev->dev.of_node;
1773 int ret;
1774 u32 reg, mask;
1775
1776 i2c_dev->regmap = syscon_regmap_lookup_by_phandle(np, "st,syscfg-fmp");
1777 if (IS_ERR(i2c_dev->regmap)) {
1778 /* Optional */
1779 return 0;
1780 }
1781
1782 ret = of_property_read_u32_index(np, "st,syscfg-fmp", 1, ®);
1783 if (ret)
1784 return ret;
1785
1786 ret = of_property_read_u32_index(np, "st,syscfg-fmp", 2, &mask);
1787 if (ret)
1788 return ret;
1789
> 1790 return regmap_update_bits(i2c_dev->regmap, reg, mask, mask);
1791 }
1792
---
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: 52103 bytes --]
next prev parent reply other threads:[~2018-11-18 7:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-16 12:20 [PATCH v1 0/2] SYSCFG Fast Mode Plus support for I2C STM32F7 Pierre-Yves MORDRET
2018-11-16 12:20 ` [PATCH v1 1/2] dt-bindings: i2c-stm32: " Pierre-Yves MORDRET
2018-11-17 16:06 ` Rob Herring
2018-11-16 12:20 ` [PATCH v1 2/2] i2c: i2c-stm32f7: " Pierre-Yves MORDRET
2018-11-18 7:05 ` kbuild test robot [this message]
2018-11-18 7:08 ` kbuild test robot
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=201811181524.WpzzWNmB%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=alexandre.torgue@st.com \
--cc=devicetree@vger.kernel.org \
--cc=kbuild-all@01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mark.rutland@arm.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=pierre-yves.mordret@st.com \
--cc=robh+dt@kernel.org \
--cc=wsa@the-dreams.de \
/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