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
...
Compiling the patched bionic kernel on bionic spits out less warnings, but this error stays:
... power/snapshot. o bionic- lp1870320/ arch/s390/ pci/pci_ clp.c: In function ‘clp_disable_fh’: bionic- lp1870320/ arch/s390/ pci/pci_ clp.c:295: 6: warning: unused variable ‘fh’ [-Wunused-variable] pci/pci_ sysfs.o bionic- lp1870320/ arch/s390/ pci/pci_ sysfs.c: In function ‘recover_store’: 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] is_added( pdev)) { ~~~~~~~ ~~~~~~~ ~ device_ add
CC kernel/
/home/ubuntu/
/home/ubuntu/
u32 fh = zdev->fh;
^~
CC arch/s390/
CC mm/vmpressure.o
/home/ubuntu/
/home/ubuntu/
if (pci_dev_
^
pci_
CC kernel/power/swap.o
...