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

4 messages, 3 authors, 2018-10-09 · open the first message on its own page

[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 <hidden>
Date: 2018-10-09 07:15:18

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

Re: [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: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-10-09 09:47:31

Abdul Haleem [off-list ref] writes:
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
I don't see this commit in today's linux next (20181009) so presumably
someone else has noticed and dropped the commit?

cheers

Re: [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 <hidden>
Date: 2018-10-09 10:40:29

On Tue, 2018-10-09 at 20:47 +1100, Michael Ellerman wrote:
Abdul Haleem [off-list ref] writes:
quoted
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
I don't see this commit in today's linux next (20181009) so presumably
someone else has noticed and dropped the commit?
Yes, the commit is dropped from next-20181009, and now build is fine.

-- 
Regard's

Abdul Haleem
IBM Linux Technology Centre


Re: [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: Bjorn Helgaas <bhelgaas@google.com>
Date: 2018-10-09 12:17:29

On Tue, Oct 9, 2018 at 5:40 AM Abdul Haleem [off-list ref] wrote:
On Tue, 2018-10-09 at 20:47 +1100, Michael Ellerman wrote:
quoted
Abdul Haleem [off-list ref] writes:
quoted
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
I don't see this commit in today's linux next (20181009) so presumably
someone else has noticed and dropped the commit?
Yes, the commit is dropped from next-20181009, and now build is fine.
I dropped those commits yesterday.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help