lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 27 Feb 2020 07:02:25 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Alexandru Ardelean <alexandru.ardelean@...log.com>
Cc:     kbuild-all@...ts.01.org, linux-iio@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 4/7] iio: adc: adi-axi-adc: add support for AXI ADC IP
 core

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@...el.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@...afoo.de>
:::::: CC: Jonathan Cameron <Jonathan.Cameron@...wei.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (61856 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ