linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: linux-next: Tree for Feb 3 (arch/x86/{various}; all PCI-related)
       [not found] <20200203142334.4f699874@canb.auug.org.au>
@ 2020-02-03 16:27 ` Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2020-02-03 16:27 UTC (permalink / raw)
  To: Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, X86 ML, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Mark Rutland, Alexander Shishkin,
	Jiri Olsa, Namhyung Kim, linux-pci

On 2/2/20 7:23 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.
> 
> News: I have added an htmldocs build to the end of my day.  It seems to
> be building at the moment, but has many warnings.
> 
> Changes since 20200131:
> 

(trying this again, with more Cc:s since last week's report [on Jan. 28]
got no response)


on x86_64:

# CONFIG_PCI is not set

Several source files will not build when CONFIG_PCI is not set/enabled.

Examples:

  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;
                            ^~

  CC      arch/x86/kernel/cpu/cacheinfo.o
In file included from ../include/linux/pci.h:1778:0,
                 from ../arch/x86/kernel/cpu/cacheinfo.c:17:
../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_bus'? [-Werror=implicit-function-declaration]
  return to_pci_sysdata(bus)->node;
         ^~~~~~~~~~~~~~
         to_pci_bus
../arch/x86/include/asm/pci.h:126:28: error: invalid type argument of '->' (have 'int')
  return to_pci_sysdata(bus)->node;
                            ^~

  CC      arch/x86/kernel/apic/io_apic.o
In file included from ../include/linux/pci.h:1778:0,
                 from ../arch/x86/kernel/apic/io_apic.c:40:
../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_bus'? [-Werror=implicit-function-declaration]
  return to_pci_sysdata(bus)->node;
         ^~~~~~~~~~~~~~
         to_pci_bus
../arch/x86/include/asm/pci.h:126:28: error: invalid type argument of '->' (have 'int')
  return to_pci_sysdata(bus)->node;
                            ^~

  CC      arch/x86/kernel/setup.o
In file included from ../include/linux/pci.h:1778:0,
                 from ../arch/x86/kernel/setup.c:16:
../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_bus'? [-Werror=implicit-function-declaration]
  return to_pci_sysdata(bus)->node;
         ^~~~~~~~~~~~~~
         to_pci_bus
../arch/x86/include/asm/pci.h:126:28: error: invalid type argument of '->' (have 'int')
  return to_pci_sysdata(bus)->node;
                            ^~

  CC      arch/x86/kernel/x86_init.o
In file included from ../include/linux/pci.h:1778:0,
                 from ../arch/x86/kernel/x86_init.c:9:
../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_bus'? [-Werror=implicit-function-declaration]
  return to_pci_sysdata(bus)->node;
         ^~~~~~~~~~~~~~
         to_pci_bus
../arch/x86/include/asm/pci.h:126:28: error: invalid type argument of '->' (have 'int')
  return to_pci_sysdata(bus)->node;
                            ^~

  CC      arch/x86/kernel/irqinit.o
In file included from ../include/linux/pci.h:1778:0,
                 from ../arch/x86/include/asm/prom.h:15,
                 from ../arch/x86/kernel/irqinit.c:29:
../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;
                            ^~


That's just a sample:

$ buildsummary.pl build-r9671.out 
file: arch/x86/boot/header.S: errors: 1, warnings: 0
file: arch/x86/include/asm/pci.h: errors: 234, warnings: 0
build-r9671.out: totals: error/warning files: 2, errors: 235, warnings: 0, Section mismatches: 0




-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>

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

only message in thread, other threads:[~2020-02-03 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200203142334.4f699874@canb.auug.org.au>
2020-02-03 16:27 ` linux-next: Tree for Feb 3 (arch/x86/{various}; all PCI-related) Randy Dunlap

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).