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-next>] [day] [month] [year] [list]
Message-Id: <1457378964-9865-1-git-send-email-nicstange@gmail.com>
Date:	Mon,  7 Mar 2016 20:29:24 +0100
From:	Nicolai Stange <nicstange@...il.com>
To:	Michal Simek <monstr@...str.eu>
Cc:	Tomi Valkeinen <tomi.valkeinen@...com>,
	Takashi Iwai <tiwai@...e.de>,
	Bjorn Helgaas <bhelgaas@...gle.com>,
	Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
	Yijing Wang <wangyijing@...wei.com>,
	Yinghai Lu <yinghai@...nel.org>,
	kbuild test robot <fengguang.wu@...el.com>,
	Nicolai Stange <nicstange@...il.com>,
	linux-kernel@...r.kernel.org
Subject: [PATCH] arch/microblaze: export isa_io_base to modules

As discovered by the kbuild test robot, an allmodconfig build on
microblaze bails out with

  ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!
  ERROR: "isa_io_base" [sound/pci/trident/snd-trident.ko] undefined!
  ERROR: "isa_io_base" [sound/pci/snd-via82xx.ko] undefined!
  ERROR: "isa_io_base" [sound/pci/snd-via82xx-modem.ko] undefined!
  ERROR: "isa_io_base" [sound/pci/snd-sonicvibes.ko] undefined!
  [... plus dozens more throughout the tree]

Export isa_io_base to modules by means of EXPORT_SYMBOL().

Signed-off-by: Nicolai Stange <nicstange@...il.com>
---
 arch/microblaze/pci/pci-common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c
index ae838ed..fba7a46 100644
--- a/arch/microblaze/pci/pci-common.c
+++ b/arch/microblaze/pci/pci-common.c
@@ -48,6 +48,8 @@ static int global_phb_number;		/* Global phb counter */
 resource_size_t isa_mem_base;
 
 unsigned long isa_io_base;
+EXPORT_SYMBOL(isa_io_base);
+
 static int pci_bus_count;
 
 struct pci_controller *pcibios_alloc_controller(struct device_node *dev)
-- 
2.7.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ