Re: [PATCH] iio: accel: bmi088: add i2c support for bmi088 accel driver

From: kernel test robot
Date: Mon Dec 18 2023 - 23:49:52 EST


Hi Jun,

kernel test robot noticed the following build errors:

[auto build test ERROR on jic23-iio/togreg]
[also build test ERROR on linus/master v6.7-rc6 next-20231218]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Jun-Yan/iio-accel-bmi088-add-i2c-support-for-bmi088-accel-driver/20231218-235104
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link: https://lore.kernel.org/r/20231218154045.219317-1-jerrysteve1101%40gmail.com
patch subject: [PATCH] iio: accel: bmi088: add i2c support for bmi088 accel driver
config: powerpc64-randconfig-r081-20231219 (https://download.01.org/0day-ci/archive/20231219/202312191202.IFnDRQVb-lkp@xxxxxxxxx/config)
compiler: powerpc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231219/202312191202.IFnDRQVb-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312191202.IFnDRQVb-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/iio/accel/bmi088-accel-i2c.c:14:10: fatal error: linux/i2c/i2c.h: No such file or directory
14 | #include <linux/i2c/i2c.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.


vim +14 drivers/iio/accel/bmi088-accel-i2c.c

> 14 #include <linux/i2c/i2c.h>
15

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki