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: <275575.39195.qm@web50112.mail.re2.yahoo.com>
Date:	Fri, 9 Nov 2007 07:26:52 -0800 (PST)
From:	Doug Thompson <norsk5@...oo.com>
To:	Adrian Bunk <bunk@...nel.org>, gregkh@...e.de,
	dougthompson@...ssion.com
Cc:	linux-kernel@...r.kernel.org, linux-pci@...ey.karlin.mff.cuni.cz,
	bluesmoke-devel@...ts.sourceforge.net
Subject: Re: [2.6 patch] always export pci_scan_single_device

ACK:    Doug Thompson <dougthompson@...ssion.com>

--- Adrian Bunk <bunk@...nel.org> wrote:

> This patch fixes the following build error with CONFIG_HOTPLUG=n:
> 
> <--  snip  -->
> 
> ...
>   MODPOST 2137 modules
> ERROR: "pci_scan_single_device" [drivers/edac/i82875p_edac.ko] undefined!
> make[2]: *** [__modpost] Error 1
> 
> <--  snip  -->
> 
> Signed-off-by: Adrian Bunk <bunk@...nel.org>
> 
> ---
> 
>  drivers/pci/probe.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> f80ae6568224bd5e4d2387ec162d37c8e7fd545a 
> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
> index 463a5a9..de33a02 100644
> --- a/drivers/pci/probe.c
> +++ b/drivers/pci/probe.c
> @@ -1012,6 +1012,7 @@ struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn)
>  
>  	return dev;
>  }
> +EXPORT_SYMBOL(pci_scan_single_device);
>  
>  /**
>   * pci_scan_slot - scan a PCI slot on a bus for devices.
> @@ -1200,7 +1201,6 @@ EXPORT_SYMBOL(pci_add_new_bus);
>  EXPORT_SYMBOL(pci_do_scan_bus);
>  EXPORT_SYMBOL(pci_scan_slot);
>  EXPORT_SYMBOL(pci_scan_bridge);
> -EXPORT_SYMBOL(pci_scan_single_device);
>  EXPORT_SYMBOL_GPL(pci_scan_child_bus);
>  #endif
>  
> 
> 


W1DUG
-
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