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
Date: Tue Oct 09 2018 - 06:40:29 EST


On Tue, 2018-10-09 at 20:47 +1100, Michael Ellerman wrote:
> Abdul Haleem <abdhalee@xxxxxxxxxxxxxxxxxx> 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?

Yes, the commit is dropped from next-20181009, and now build is fine.

--
Regard's

Abdul Haleem
IBM Linux Technology Centre