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: <54155579.6040808@gmail.com>
Date:	Sun, 14 Sep 2014 16:44:41 +0800
From:	Chen Gang <gang.chen.5i5j@...il.com>
To:	Michal Simek <monstr@...str.eu>, grant.likely@...aro.org,
	tony@...mide.com, bhelgaas@...gle.com,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	rob.herring@...xeda.com, sebott@...ux.vnet.ibm.com
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] arch/microblaze/pci/pci-common.c: Export 'isa_io_base' for
 compiling break

Export it just like another architectures have done (e.g. powerpc). The
related error with allmodconfig:

  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" [drivers/ata/pata_artop.ko] undefined!
  ERROR: "isa_io_base" [drivers/ata/libata.ko] undefined!
  make[1]: *** [__modpost] Error 1
  make: *** [modules] Error 2

Signed-off-by: Chen Gang <gang.chen.5i5j@...il.com>
---
 arch/microblaze/pci/pci-common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c
index 9037914..6c57a6a 100644
--- a/arch/microblaze/pci/pci-common.c
+++ b/arch/microblaze/pci/pci-common.c
@@ -48,6 +48,7 @@ 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)
-- 
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ