Hi Kiseok,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on broonie-sound/for-next] [also build test ERROR on robh/for-next 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/Kiseok-Jo/ASoC-sma1303-Add-dr... base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next patch link: https://lore.kernel.org/r/20230104064342.2094-2-kiseok.jo%40irondevice.com patch subject: [PATCH 1/3] ASoC: sma1303: Add driver for Iron Device SMA1303 Amp config: mips-allyesconfig compiler: mips-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/0b15568ccfb962f9143de22e5b7c98... git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kiseok-Jo/ASoC-sma1303-Add-driver-for-Iron-Device-SMA1303-Amp/20230104-150052 git checkout 0b15568ccfb962f9143de22e5b7c98ccbf058d71 # 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=mips olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot lkp@intel.com
All errors (new ones prefixed by >>):
sound/soc/codecs/sma1303.c:2092:19: error: initialization of 'void (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Werror=incompatible-pointer-types]
2092 | .remove = sma1303_i2c_remove, | ^~~~~~~~~~~~~~~~~~ sound/soc/codecs/sma1303.c:2092:19: note: (near initialization for 'sma1303_i2c_driver.remove') cc1: some warnings being treated as errors
vim +2092 sound/soc/codecs/sma1303.c
2085 2086 static struct i2c_driver sma1303_i2c_driver = { 2087 .driver = { 2088 .name = "sma1303", 2089 .of_match_table = sma1303_of_match, 2090 }, 2091 .probe = sma1303_i2c_probe,
2092 .remove = sma1303_i2c_remove,
2093 .id_table = sma1303_i2c_id, 2094 }; 2095