linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [pci:pci/hotplug 41/49] drivers/pci/pcie/aer_inject.c:458:6: error: 'struct pt_regs' has no member named 'ip'
@ 2018-10-08 11:28 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-10-08 11:28 UTC (permalink / raw)
  To: Keith Busch; +Cc: kbuild-all, linux-pci, Bjorn Helgaas

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/hotplug
head:   ec7da63425d2d7ca40c03d71b966a0f9469b5ad3
commit: 857bcd7d2a219d4a7a1306ad200b2646cacbadae [41/49] PCI/AER: Covertly inject errors with ftrace hooks
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 857bcd7d2a219d4a7a1306ad200b2646cacbadae
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/pcie/aer_inject.c: In function 'aer_inject_ftrace_thunk':
>> drivers/pci/pcie/aer_inject.c:458:6: error: 'struct pt_regs' has no member named 'ip'
     regs->ip = (unsigned long) hook->function;
         ^~

vim +458 drivers/pci/pcie/aer_inject.c

   453	
   454	static void notrace aer_inject_ftrace_thunk(unsigned long ip, unsigned long parent_ip,
   455			struct ftrace_ops *ops, struct pt_regs *regs)
   456	{
   457		struct aer_hook *hook = container_of(ops, struct aer_hook, ops);
 > 458		regs->ip = (unsigned long) hook->function;
   459	}
   460	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67167 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-08 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-08 11:28 [pci:pci/hotplug 41/49] drivers/pci/pcie/aer_inject.c:458:6: error: 'struct pt_regs' has no member named 'ip' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).