summaryrefslogtreecommitdiff
path: root/include/linux/iio/buffer-dmaengine.h
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-03-24 16:46:31 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-19 18:56:21 +0300
commit6eb3b8acfd079104571c207d4524743b6acc6550 (patch)
tree03c790679674b72cdd1bc4a1f4e4fbe3acf5a1ea /include/linux/iio/buffer-dmaengine.h
parent20d5fa48d333670ffbc08d387a80710be91259a0 (diff)
downloadlinux-6eb3b8acfd079104571c207d4524743b6acc6550.tar.xz
iio: buffer-dmaengine: use %zu specifier for sprintf(align)
The 'size_t' type behaves differently on 64-bit architectures, and causes compiler a warning of the sort "format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka long unsigned int}'". This change adds the correct specifier for the 'align' field. Fixes: 4538c18568099 ("iio: buffer-dmaengine: Report buffer length requirements") Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio/buffer-dmaengine.h')
0 files changed, 0 insertions, 0 deletions