Subject: Re: linux-next: Tree for Jan 28 (arch/x86/events/amd/ibs.o)

From: Randy Dunlap <[email-masked]>
Date: Tue, 28 Jan 2020 08:02:46 -0800

On 1/27/20 9:54 PM, Stephen Rothwell wrote:
> Hi all,
> 
> Please do not add any v5.7 material to your linux-next included
> branches until after v5.6-rc1 has been released.
> 
> Changes since 20200124:
> 

on x86_64:

when CONFIG_PCI is not set/enabled:

  CC      arch/x86/events/amd/ibs.o
In file included from ../include/linux/pci.h:1778:0,
                 from ../arch/x86/events/amd/ibs.c:12:
../arch/x86/include/asm/pci.h: In function ‘__pcibus_to_node’:
../arch/x86/include/asm/pci.h:126:9: error: implicit declaration of function ‘to_pci_sysdata’; did you mean ‘to_pci_dev’? [-Werror=implicit-function-declaration]
  return to_pci_sysdata(bus)->node;
         ^~~~~~~~~~~~~~
         to_pci_dev
../arch/x86/include/asm/pci.h:126:28: error: invalid type argument of ‘->’ (have ‘int’)
  return to_pci_sysdata(bus)->node;
                            ^~
cc1: some warnings being treated as errors
make[4]: *** [../scripts/Makefile.build:266: arch/x86/events/amd/ibs.o] Error 1

Full randconfig file is attached.

-- 
~Randy
Reported-by: Randy Dunlap <[email-masked]>