Subject: [linux-next][bisected e3fbcc7c] build error at drivers/pci/pcie/aer_inject.c:444:6: error: ‘struct pt_regs’ has no member named ‘ip

From: Abdul Haleem <[email-masked]>
Date: Tue, 09 Oct 2018 12:44:52 +0530

Greeting's

Today's linux-next fails to build on ppc with below error

drivers/pci/pcie/aer_inject.c: In function ‘aer_inject_ftrace_thunk’:
drivers/pci/pcie/aer_inject.c:444:6: error: ‘struct pt_regs’ has no
member named ‘ip’
  regs->ip = (unsigned long) hook->function;
      ^
make[3]: *** [drivers/pci/pcie/aer_inject.o] Error 1
make[2]: *** [drivers/pci/pcie] Error 2
make[1]: *** [drivers/pci] Error 2

Machine: Power 9
kernel version: 4.19.0-rc7-next-20181008
gcc version: 4.8.5 20150623
config attached

Recent code changes from these commits:

c79ad38b36dd4967d67f83fc48bade37ee041a47 PCI/AER: Abstract AER interrupt handling
7b23285f930a8dedcbf749661cd0f2cc27f79be6 PCI/AER: Reuse existing pcie_port_find_device() interface
e3fbcc7c4b130f81ea586183db561fa3ce9c6447 PCI/AER: Covertly inject errors with ftrace hooks
4696b828ca3781deebc3f61d50978d5c8c5be405 PCI/AER: Hoist aerdrv.c, aer_inject.c up to drivers/pci/pcie/

-- 
Regard's

Abdul Haleem
IBM Linux Technology Centre