[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202301042129.74OZ4dJ9-lkp@intel.com>
Date: Wed, 4 Jan 2023 21:28:06 +0800
From: kernel test robot <lkp@...el.com>
To: Andrew Hepp <andrew.hepp@...pp.dev>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, Jonathan Cameron <jic23@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev,
"Andrew.Hepp" <andrew.hepp@...pp.dev>
Subject: Re: [PATCH] iio: temperature: Add MCP9600 thermocouple EMF converter
driver
Hi Andrew,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on jic23-iio/togreg]
[also build test ERROR on linus/master v6.2-rc2 next-20221226]
[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/Andrew-Hepp/iio-temperature-Add-MCP9600-thermocouple-EMF-converter-driver/20230104-194337
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link: https://lore.kernel.org/r/20230104113612.4732-1-andrew.hepp%40ahepp.dev
patch subject: [PATCH] iio: temperature: Add MCP9600 thermocouple EMF converter driver
config: sh-allmodconfig
compiler: sh4-linux-gcc (GCC) 12.1.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/f917ff9fc4d32cb214e5721fa9ca8dca45bcaf00
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Andrew-Hepp/iio-temperature-Add-MCP9600-thermocouple-EMF-converter-driver/20230104-194337
git checkout f917ff9fc4d32cb214e5721fa9ca8dca45bcaf00
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/iio/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/iio/temperature/mcp9600.c:167:19: error: initialization of 'void (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Werror=incompatible-pointer-types]
167 | .remove = mcp9600_remove,
| ^~~~~~~~~~~~~~
drivers/iio/temperature/mcp9600.c:167:19: note: (near initialization for 'mcp9600_driver.remove')
cc1: some warnings being treated as errors
vim +167 drivers/iio/temperature/mcp9600.c
160
161 static struct i2c_driver mcp9600_driver = {
162 .driver = {
163 .name = "mcp9600",
164 .of_match_table = mcp9600_of_match,
165 },
166 .probe_new = mcp9600_probe,
> 167 .remove = mcp9600_remove,
168 .id_table = mcp9600_id
169 };
170 module_i2c_driver(mcp9600_driver);
171
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (245863 bytes)
Powered by blists - more mailing lists