Hi Hans, kernel test robot noticed the following build warnings: [auto build test WARNING on wsa/i2c/for-next] [cannot apply to linus/master v6.7-rc7 next-20231220] [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/Hans-Hu/i2c-wmt-create-wmt_i2c_init-for-general-init/20231228-112208 base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next patch link: https://lore.kernel.org/r/efbdee3ccae776a8f45d3ea5e28fdee334a3c07b.1703733126.git.hanshu-oc%40zhaoxin.com patch subject: [PATCH v5 8/8] i2c: add zhaoxin i2c controller driver config: loongarch-randconfig-r081-20231229 (https://download.01.org/0day-ci/archive/20231229/202312291225.cWVt6YF9-lkp@xxxxxxxxx/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231229/202312291225.cWVt6YF9-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/202312291225.cWVt6YF9-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/i2c/busses/i2c-zhaoxin-plt.c:265:12: warning: 'zxi2c_resume' defined but not used [-Wunused-function] 265 | static int zxi2c_resume(struct device *dev) | ^~~~~~~~~~~~ vim +/zxi2c_resume +265 drivers/i2c/busses/i2c-zhaoxin-plt.c 264 > 265 static int zxi2c_resume(struct device *dev) 266 { 267 struct zxi2c *i2c = dev_get_drvdata(dev); 268 269 iowrite8(ZXI2C_CR_MST_RST, i2c->base + VIAI2C_REG_CR); 270 zxi2c_set_bus_speed(i2c); 271 272 return 0; 273 } 274 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki