Re: [PATCH v1 2/2] sata: eswin: Add eic7700 sata driver

From: kernel test robot
Date: Fri May 16 2025 - 10:34:10 EST


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.15-rc6 next-20250516]
[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/hehuan1-eswincomputing-com/dt-bindings-sata-eswin-Document-for-EIC7700-SoC/20250515-170607
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20250515090018.1720-1-hehuan1%40eswincomputing.com
patch subject: [PATCH v1 2/2] sata: eswin: Add eic7700 sata driver
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250516/202505162248.OhCrILxm-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250516/202505162248.OhCrILxm-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/202505162248.OhCrILxm-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/ata/ahci_eic7700.c:206:12: warning: 'eswin_ahci_resume' defined but not used [-Wunused-function]
206 | static int eswin_ahci_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~
>> drivers/ata/ahci_eic7700.c:195:12: warning: 'eswin_ahci_suspend' defined but not used [-Wunused-function]
195 | static int eswin_ahci_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~


vim +/eswin_ahci_resume +206 drivers/ata/ahci_eic7700.c

194
> 195 static int eswin_ahci_suspend(struct device *dev)
196 {
197 int ret;
198
199 ret = ahci_platform_suspend(dev);
200 if (ret)
201 return ret;
202
203 return 0;
204 }
205
> 206 static int eswin_ahci_resume(struct device *dev)
207 {
208 int ret;
209
210 ret = ahci_platform_resume(dev);
211 if (ret)
212 return ret;
213
214 return 0;
215 }
216

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki