From: kbuild test robot <lkp@intel.com>
To: Borys Movchan <borys.movchan@axis.com>
Cc: kbuild-all@01.org, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org, Borys Movchan <borysmn@axis.com>,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Jeff LaBundy <jeff@labundy.com>,
Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>,
Brian Masney <masneyb@onstation.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/2] iio: add ISL29033 Ultra-Low Lux ambient-light-sensor
Date: Thu, 14 Jun 2018 03:23:53 +0800 [thread overview]
Message-ID: <201806140109.tvP88cyu%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180613140043.5802-2-borys.movchan@axis.com>
Hi Borys,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on iio/togreg]
[also build test WARNING on v4.17 next-20180613]
[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/Borys-Movchan/dt-bindings-iio-light-add-ISL29033-device-bindings/20180613-220725
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/iio/light/isl29033.c:235:15: sparse: cast to restricted __be16
>> drivers/iio/light/isl29033.c:235:15: sparse: cast to restricted __be16
>> drivers/iio/light/isl29033.c:235:15: sparse: cast to restricted __be16
>> drivers/iio/light/isl29033.c:235:15: sparse: cast to restricted __be16
vim +235 drivers/iio/light/isl29033.c
220
221 static int isl29033_read_sensor_input(struct isl29033_chip *chip)
222 {
223 int ret;
224 u16 val;
225 struct device *dev = regmap_get_device(chip->regmap);
226
227 ret = regmap_bulk_read(chip->regmap, ISL29033_REG_ADD_DATA_LSB,
228 (u8 *)&val, 2);
229 if (ret < 0) {
230 dev_err(dev,
231 "Data bulk read error %d\n", ret);
232 return ret;
233 }
234
> 235 val = be16_to_cpu(val);
236 dev_vdbg(dev, "Data read: %x\n", val);
237
238 return val;
239 }
240
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
next prev parent reply other threads:[~2018-06-13 19:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-13 14:00 [PATCH v4 1/2] dt-bindings: iio: light: add ISL29033 device bindings Borys Movchan
2018-06-13 14:00 ` [PATCH v4 2/2] iio: add ISL29033 Ultra-Low Lux ambient-light-sensor Borys Movchan
2018-06-13 19:23 ` kbuild test robot [this message]
2018-06-20 15:58 ` [PATCH v4 1/2] dt-bindings: iio: light: add ISL29033 device bindings Rob Herring
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=201806140109.tvP88cyu%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=borys.movchan@axis.com \
--cc=borysmn@axis.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jeff@labundy.com \
--cc=kbuild-all@01.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo.bianconi83@gmail.com \
--cc=masneyb@onstation.org \
--cc=pmeerw@pmeerw.net \
/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