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: <877e524b-6b84-740e-a79b-5cec378bb22d@infradead.org>
Date:   Mon, 27 May 2019 19:32:00 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     LKML <linux-kernel@...r.kernel.org>,
        "linux-ia64@...r.kernel.org" <linux-ia64@...r.kernel.org>
Cc:     Tony Luck <tony.luck@...el.com>, Fenghua Yu <fenghua.yu@...el.com>,
        Fengguang Wu <fengguang.wu@...el.com>
Subject: Re: [PATCH] ia64: fix build errors by exporting paddr_to_nid()

ping...

On 5/3/19 9:42 PM, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@...radead.org>
> 
> Fix build errors on ia64 when DISCONTIGMEM=y and NUMA=y by
> exporting paddr_to_nid().
> 
> Fixes these build errors:
> 
> ERROR: "paddr_to_nid" [sound/core/snd-pcm.ko] undefined!
> ERROR: "paddr_to_nid" [net/sunrpc/sunrpc.ko] undefined!
> ERROR: "paddr_to_nid" [fs/cifs/cifs.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/video/fbdev/core/fb.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/usb/mon/usbmon.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/usb/core/usbcore.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/md/raid1.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/md/dm-mod.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/md/dm-crypt.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/md/dm-bufio.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/ide/ide-core.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/ide/ide-cd_mod.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/gpu/drm/drm.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/char/agp/agpgart.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/block/nbd.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/block/loop.ko] undefined!
> ERROR: "paddr_to_nid" [drivers/block/brd.ko] undefined!
> ERROR: "paddr_to_nid" [crypto/ccm.ko] undefined!
> 
> Reported-by: kbuild test robot <lkp@...el.com>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Tony Luck <tony.luck@...el.com>
> Cc: Fenghua Yu <fenghua.yu@...el.com>
> Cc: linux-ia64@...r.kernel.org
> ---
>  arch/ia64/mm/numa.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- lnx-51-rc7.orig/arch/ia64/mm/numa.c
> +++ lnx-51-rc7/arch/ia64/mm/numa.c
> @@ -55,6 +55,7 @@ paddr_to_nid(unsigned long paddr)
>  
>  	return (i < num_node_memblks) ? node_memblk[i].nid : (num_node_memblks ? -1 : 0);
>  }
> +EXPORT_SYMBOL(paddr_to_nid);
>  
>  #if defined(CONFIG_SPARSEMEM) && defined(CONFIG_NUMA)
>  /*
> 
> 


-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ