[pci:pci/hotplug 41/49] drivers/pci/pcie/aer_inject.c:458:6: error: 'struct pt_regs' has no member named 'ip'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux