Re: [PATCH v4 6/6] drivers:iio:dac: Add AD3552R driver support

From: kernel test robot
Date: Fri Aug 20 2021 - 15:56:51 EST


Hi Mihail,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on 94a853eca720ac9e385e59f27e859b4a01123f58]

url: https://github.com/0day-ci/linux/commits/Mihail-Chindris/iio-Add-output-buffer-support-and-DAC-example/20210821-010349
base: 94a853eca720ac9e385e59f27e859b4a01123f58
config: s390-buildonly-randconfig-r006-20210821 (attached as .config)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/56f19f129ca383448b35a3c77ac5fcc1eb4df3b4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Mihail-Chindris/iio-Add-output-buffer-support-and-DAC-example/20210821-010349
git checkout 56f19f129ca383448b35a3c77ac5fcc1eb4df3b4
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash drivers/iio/dac/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/iio/dac/ad3552r.c:17:10: fatal error: linux/unaligned/be_byteshift.h: No such file or directory
17 | #include <linux/unaligned/be_byteshift.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


vim +17 drivers/iio/dac/ad3552r.c

2
3 /*
4 * Analog Devices AD3552R
5 * Digital to Analog converter driver
6 *
7 * Copyright 2021 Analog Devices Inc.
8 */
9 #include <linux/iopoll.h>
10 #include <linux/device.h>
11 #include <linux/iio/trigger.h>
12 #include <linux/iio/triggered_buffer.h>
13 #include <linux/iio/trigger_consumer.h>
14 #include <linux/spi/spi.h>
15 #include <linux/types.h>
16 #include <linux/time64.h>
> 17 #include <linux/unaligned/be_byteshift.h>
18

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

Attachment: .config.gz
Description: application/gzip