From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, thierry.reding@gmail.com,
jonathanh@nvidia.com, talho@nvidia.com,
linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-i2c@vger.kernel.org,
Sowjanya Komatineni <skomatineni@nvidia.com>
Subject: Re: [PATCH V1] i2c: tegra: Fix Maximum transfer size
Date: Thu, 3 Jan 2019 12:47:30 +0800 [thread overview]
Message-ID: <201901031213.PpP4Dc7b%fengguang.wu@intel.com> (raw)
In-Reply-To: <1546465721-12108-1-git-send-email-skomatineni@nvidia.com>
[-- Attachment #1: Type: text/plain, Size: 3292 bytes --]
Hi Sowjanya,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tegra/for-next]
[also build test WARNING on v4.20 next-20190102]
[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/Sowjanya-Komatineni/i2c-tegra-Fix-Maximum-transfer-size/20190103-082727
base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-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=arm
All warnings (new ones prefixed by >>):
>> drivers/i2c/busses/i2c-tegra.c:839:18: warning: large integer implicitly truncated to unsigned type [-Woverflow]
.max_read_len = 65536,
^~~~~
drivers/i2c/busses/i2c-tegra.c:840:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
.max_write_len = 65536,
^~~~~
>> drivers/i2c/busses/i2c-tegra.c:854:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
.quirks = &tegra_i2c_quirks,
^
drivers/i2c/busses/i2c-tegra.c:868:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
.quirks = &tegra_i2c_quirks,
^
drivers/i2c/busses/i2c-tegra.c:882:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
.quirks = &tegra_i2c_quirks,
^
drivers/i2c/busses/i2c-tegra.c:896:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
.quirks = &tegra_i2c_quirks,
^
drivers/i2c/busses/i2c-tegra.c:910:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
.quirks = &tegra_i2c_quirks,
^
drivers/i2c/busses/i2c-tegra.c:924:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
.quirks = &tegra194_i2c_quirks,
^
vim +839 drivers/i2c/busses/i2c-tegra.c
836
837 static const struct i2c_adapter_quirks tegra194_i2c_quirks = {
838 .flags = I2C_AQ_NO_ZERO_LEN,
> 839 .max_read_len = 65536,
840 .max_write_len = 65536,
841 };
842
843 static const struct tegra_i2c_hw_feature tegra20_i2c_hw = {
844 .has_continue_xfer_support = false,
845 .has_per_pkt_xfer_complete_irq = false,
846 .has_single_clk_source = false,
847 .clk_divisor_hs_mode = 3,
848 .clk_divisor_std_fast_mode = 0,
849 .clk_divisor_fast_plus_mode = 0,
850 .has_config_load_reg = false,
851 .has_multi_master_mode = false,
852 .has_slcg_override_reg = false,
853 .has_mst_fifo = false,
> 854 .quirks = &tegra_i2c_quirks,
855 };
856
---
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: 67719 bytes --]
prev parent reply other threads:[~2019-01-03 4:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-02 21:48 [PATCH V1] i2c: tegra: Fix Maximum transfer size Sowjanya Komatineni
2019-01-02 22:05 ` Peter Rosin
2019-01-02 22:39 ` Sowjanya Komatineni
2019-01-02 23:02 ` Peter Rosin
2019-01-03 4:47 ` 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=201901031213.PpP4Dc7b%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=jonathanh@nvidia.com \
--cc=kbuild-all@01.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=skomatineni@nvidia.com \
--cc=talho@nvidia.com \
--cc=thierry.reding@gmail.com \
/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