Comment 5 for bug 1870320

Revision history for this message
Frank Heimes (fheimes) wrote :

Compiling the patched bionic kernel on bionic spits out less warnings, but this error stays:

...
  CC kernel/power/snapshot.o
/home/ubuntu/bionic-lp1870320/arch/s390/pci/pci_clp.c: In function ‘clp_disable_fh’:
/home/ubuntu/bionic-lp1870320/arch/s390/pci/pci_clp.c:295:6: warning: unused variable ‘fh’ [-Wunused-variable]
  u32 fh = zdev->fh;
      ^~
  CC arch/s390/pci/pci_sysfs.o
  CC mm/vmpressure.o
/home/ubuntu/bionic-lp1870320/arch/s390/pci/pci_sysfs.c: In function ‘recover_store’:
/home/ubuntu/bionic-lp1870320/arch/s390/pci/pci_sysfs.c:73:6: error: implicit declaration of function ‘pci_dev_is_added’; did you mean ‘pci_device_add’? [-Werror=implicit-function-declaration]
  if (pci_dev_is_added(pdev)) {
      ^~~~~~~~~~~~~~~~
      pci_device_add
  CC kernel/power/swap.o
...