From: kbuild test robot <lkp@intel.com>
To: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: kbuild-all@lists.01.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 4/7] iio: adc: adi-axi-adc: add support for AXI ADC IP core
Date: Thu, 27 Feb 2020 07:02:25 +0800 [thread overview]
Message-ID: <202002270620.mqsOhj9F%lkp@intel.com> (raw)
In-Reply-To: <20200226150835.19649-5-alexandru.ardelean@analog.com>
[-- Attachment #1: Type: text/plain, Size: 2915 bytes --]
Hi Alexandru,
I love your patch! Perhaps something to improve:
[auto build test WARNING on iio/togreg]
[also build test WARNING on linus/master v5.6-rc3 next-20200226]
[cannot apply to linux/master]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Alexandru-Ardelean/iio-adi-axi-adc-ad9647-Add-support-for-AD9467-ADC/20200227-030546
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.5.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.5.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/iio/buffer/industrialio-buffer-dmaengine.c: In function 'iio_dmaengine_buffer_get_length_align':
>> drivers/iio/buffer/industrialio-buffer-dmaengine.c:137:24: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=]
return sprintf(buf, "%u\n", dmaengine_buffer->align);
~^ ~~~~~~~~~~~~~~~~~~~~~~~
%lu
vim +137 drivers/iio/buffer/industrialio-buffer-dmaengine.c
2d6ca60f328450 Lars-Peter Clausen 2015-10-13 129
4538c185680996 Lars-Peter Clausen 2019-12-11 130 static ssize_t iio_dmaengine_buffer_get_length_align(struct device *dev,
4538c185680996 Lars-Peter Clausen 2019-12-11 131 struct device_attribute *attr, char *buf)
4538c185680996 Lars-Peter Clausen 2019-12-11 132 {
4538c185680996 Lars-Peter Clausen 2019-12-11 133 struct iio_dev *indio_dev = dev_to_iio_dev(dev);
4538c185680996 Lars-Peter Clausen 2019-12-11 134 struct dmaengine_buffer *dmaengine_buffer =
4538c185680996 Lars-Peter Clausen 2019-12-11 135 iio_buffer_to_dmaengine_buffer(indio_dev->buffer);
4538c185680996 Lars-Peter Clausen 2019-12-11 136
4538c185680996 Lars-Peter Clausen 2019-12-11 @137 return sprintf(buf, "%u\n", dmaengine_buffer->align);
4538c185680996 Lars-Peter Clausen 2019-12-11 138 }
4538c185680996 Lars-Peter Clausen 2019-12-11 139
:::::: The code at line 137 was first introduced by commit
:::::: 4538c185680996d7328beac629dbdb7dd3f8f34e iio: buffer-dmaengine: Report buffer length requirements
:::::: TO: Lars-Peter Clausen <lars@metafoo.de>
:::::: CC: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 61856 bytes --]
next prev parent reply other threads:[~2020-02-26 23:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-26 15:08 [PATCH v2 0/7] iio: adi-axi-adc,ad9647: Add support for AD9467 ADC Alexandru Ardelean
2020-02-26 15:08 ` [PATCH v2 1/7] include: fpga: adi-axi-common.h: fixup whitespace tab -> space Alexandru Ardelean
2020-02-26 15:08 ` [PATCH v2 2/7] include: fpga: adi-axi-common.h: add version helper macros Alexandru Ardelean
2020-02-26 15:08 ` [PATCH v2 3/7] iio: buffer-dmaengine: add dev-managed calls for buffer alloc Alexandru Ardelean
2020-02-26 15:08 ` [PATCH v2 4/7] iio: adc: adi-axi-adc: add support for AXI ADC IP core Alexandru Ardelean
2020-02-26 23:02 ` kbuild test robot [this message]
2020-02-27 7:01 ` Ardelean, Alexandru
2020-02-26 15:08 ` [PATCH v2 5/7] dt-bindings: iio: adc: add bindings doc for AXI ADC driver Alexandru Ardelean
2020-02-27 7:06 ` Ardelean, Alexandru
2020-02-26 15:08 ` [PATCH v2 6/7] iio: adc: ad9467: add support AD9467 ADC Alexandru Ardelean
2020-02-26 15:08 ` [PATCH v2 7/7] dt-bindings: iio: adc: add bindings doc for " Alexandru Ardelean
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=202002270620.mqsOhj9F%lkp@intel.com \
--to=lkp@intel.com \
--cc=alexandru.ardelean@analog.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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