lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b569f6f3-a757-5bbb-3e1a-9d78b12709b7@infradead.org>
Date:   Mon, 3 Feb 2020 08:27:31 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        X86 ML <x86@...nel.org>, Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...hat.com>,
        Namhyung Kim <namhyung@...nel.org>,
        linux-pci <linux-pci@...r.kernel.org>
Subject: Re: linux-next: Tree for Feb 3 (arch/x86/{various}; all PCI-related)

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@...radead.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ