tree: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master head: c6052c312e85011cd31237804900013f63420403 commit: c6052c312e85011cd31237804900013f63420403 [76/76] Bluetooth: btnxpuart: Add system suspend and resume handlers config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20240710/202407100518.06Xxq5PK-lkp@xxxxxxxxx/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240710/202407100518.06Xxq5PK-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/202407100518.06Xxq5PK-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/bluetooth/btnxpuart.c:1534:12: warning: 'nxp_serdev_resume' defined but not used [-Wunused-function] 1534 | static int nxp_serdev_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~ >> drivers/bluetooth/btnxpuart.c:1525:12: warning: 'nxp_serdev_suspend' defined but not used [-Wunused-function] 1525 | static int nxp_serdev_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~ vim +/nxp_serdev_resume +1534 drivers/bluetooth/btnxpuart.c 1524 > 1525 static int nxp_serdev_suspend(struct device *dev) 1526 { 1527 struct btnxpuart_dev *nxpdev = dev_get_drvdata(dev); 1528 struct ps_data *psdata = &nxpdev->psdata; 1529 1530 ps_control(psdata->hdev, PS_STATE_SLEEP); 1531 return 0; 1532 } 1533 > 1534 static int nxp_serdev_resume(struct device *dev) 1535 { 1536 struct btnxpuart_dev *nxpdev = dev_get_drvdata(dev); 1537 struct ps_data *psdata = &nxpdev->psdata; 1538 1539 ps_control(psdata->hdev, PS_STATE_AWAKE); 1540 return 0; 1541 } 1542 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki