* Re: [PATCH RFC 11/14] ahci: pata_arasan_cf: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
[not found] <20250127-pm_ata-v1-11-f8f50c821a2a@gmail.com>
@ 2025-01-27 22:19 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-27 22:19 UTC (permalink / raw)
To: Raphael Gallais-Pou; +Cc: llvm, oe-kbuild-all
Hi Raphael,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on 5ffa57f6eecefababb8cbe327222ef171943b183]
url: https://github.com/intel-lab-lkp/linux/commits/Raphael-Gallais-Pou/ahci-brcm-Switch-from-CONFIG_PM_SLEEP-guards-to-pm_sleep_ptr/20250127-205128
base: 5ffa57f6eecefababb8cbe327222ef171943b183
patch link: https://lore.kernel.org/r/20250127-pm_ata-v1-11-f8f50c821a2a%40gmail.com
patch subject: [PATCH RFC 11/14] ahci: pata_arasan_cf: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250128/202501280531.FN5QLnfR-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250128/202501280531.FN5QLnfR-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501280531.FN5QLnfR-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/ata/pata_arasan_cf.c:28:
In file included from include/linux/dmaengine.h:8:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:19:
In file included from include/linux/elf.h:6:
In file included from arch/s390/include/asm/elf.h:181:
In file included from arch/s390/include/asm/mmu_context.h:11:
In file included from arch/s390/include/asm/pgalloc.h:18:
In file included from include/linux/mm.h:2224:
include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
505 | item];
| ~~~~
include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
512 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
525 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/ata/pata_arasan_cf.c:938:2: error: call to undeclared function 'ata_host_suspend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
938 | ata_host_suspend(host, PMSG_SUSPEND);
| ^
>> drivers/ata/pata_arasan_cf.c:948:2: error: call to undeclared function 'ata_host_resume'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
948 | ata_host_resume(host);
| ^
3 warnings and 2 errors generated.
vim +/ata_host_suspend +938 drivers/ata/pata_arasan_cf.c
a480167b23ef9b3 Viresh Kumar 2011-02-22 928
a480167b23ef9b3 Viresh Kumar 2011-02-22 929 static int arasan_cf_suspend(struct device *dev)
a480167b23ef9b3 Viresh Kumar 2011-02-22 930 {
90f0adf0936d464 Sergei Shtylyov 2011-10-12 931 struct ata_host *host = dev_get_drvdata(dev);
a480167b23ef9b3 Viresh Kumar 2011-02-22 932 struct arasan_cf_dev *acdev = host->ports[0]->private_data;
a480167b23ef9b3 Viresh Kumar 2011-02-22 933
40679b3ce9d993e Viresh Kumar 2012-02-23 934 if (acdev->dma_chan)
72b2caff4aac451 Vinod Koul 2014-10-11 935 dmaengine_terminate_all(acdev->dma_chan);
40679b3ce9d993e Viresh Kumar 2012-02-23 936
a480167b23ef9b3 Viresh Kumar 2011-02-22 937 cf_exit(acdev);
ec87cf3782f7b05 Sergey Shtylyov 2022-02-02 @938 ata_host_suspend(host, PMSG_SUSPEND);
ec87cf3782f7b05 Sergey Shtylyov 2022-02-02 939 return 0;
a480167b23ef9b3 Viresh Kumar 2011-02-22 940 }
a480167b23ef9b3 Viresh Kumar 2011-02-22 941
a480167b23ef9b3 Viresh Kumar 2011-02-22 942 static int arasan_cf_resume(struct device *dev)
a480167b23ef9b3 Viresh Kumar 2011-02-22 943 {
90f0adf0936d464 Sergei Shtylyov 2011-10-12 944 struct ata_host *host = dev_get_drvdata(dev);
a480167b23ef9b3 Viresh Kumar 2011-02-22 945 struct arasan_cf_dev *acdev = host->ports[0]->private_data;
a480167b23ef9b3 Viresh Kumar 2011-02-22 946
a480167b23ef9b3 Viresh Kumar 2011-02-22 947 cf_init(acdev);
a480167b23ef9b3 Viresh Kumar 2011-02-22 @948 ata_host_resume(host);
a480167b23ef9b3 Viresh Kumar 2011-02-22 949
a480167b23ef9b3 Viresh Kumar 2011-02-22 950 return 0;
a480167b23ef9b3 Viresh Kumar 2011-02-22 951 }
a480167b23ef9b3 Viresh Kumar 2011-02-22 952
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-27 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250127-pm_ata-v1-11-f8f50c821a2a@gmail.com>
2025-01-27 22:19 ` [PATCH RFC 11/14] ahci: pata_arasan_cf: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox