[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202204272204.zqCIf1KV-lkp@intel.com>
Date: Wed, 27 Apr 2022 22:24:54 +0800
From: kernel test robot <lkp@...el.com>
To: Andrea Merello <andrea.merello@...il.com>, jic23@...nel.org,
mchehab+huawei@...nel.org, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Cc: kbuild-all@...ts.01.org, lars@...afoo.de, robh+dt@...nel.org,
andy.shevchenko@...il.com, matt.ranostay@...sulko.com,
ardeleanalex@...il.com, jacopo@...ndi.org,
Andrea Merello <andrea.merello@....it>
Subject: Re: [v5 12/14] iio: imu: add BNO055 serdev driver
Hi Andrea,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on jic23-iio/togreg]
[also build test WARNING on linus/master linux/master v5.18-rc4 next-20220427]
[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]
url: https://github.com/intel-lab-lkp/linux/commits/Andrea-Merello/Add-support-for-Bosch-BNO055-IMU/20220426-212132
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: alpha-randconfig-r036-20220427 (https://download.01.org/0day-ci/archive/20220427/202204272204.zqCIf1KV-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.3.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/intel-lab-lkp/linux/commit/675ca9cd13af45cc5943dd15caad5e866fd7c971
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Andrea-Merello/Add-support-for-Bosch-BNO055-IMU/20220426-212132
git checkout 675ca9cd13af45cc5943dd15caad5e866fd7c971
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/iio/imu/bno055/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/iio/imu/bno055/bno055.c:1317:5: warning: no previous prototype for 'bno055_debugfs_reg_access' [-Wmissing-prototypes]
1317 | int bno055_debugfs_reg_access(struct iio_dev *iio_dev, unsigned int reg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/bno055_debugfs_reg_access +1317 drivers/iio/imu/bno055/bno055.c
2f40e22369ed70 Andrea Merello 2022-04-26 1316
2f40e22369ed70 Andrea Merello 2022-04-26 @1317 int bno055_debugfs_reg_access(struct iio_dev *iio_dev, unsigned int reg,
2f40e22369ed70 Andrea Merello 2022-04-26 1318 unsigned int writeval, unsigned int *readval)
2f40e22369ed70 Andrea Merello 2022-04-26 1319 {
2f40e22369ed70 Andrea Merello 2022-04-26 1320 return 0;
2f40e22369ed70 Andrea Merello 2022-04-26 1321 }
2f40e22369ed70 Andrea Merello 2022-04-26 1322 #endif
2f40e22369ed70 Andrea Merello 2022-04-26 1323
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists