[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <63ebb94c74929_32d61294a4@dwillia2-xfh.jf.intel.com.notmuch>
Date: Tue, 14 Feb 2023 08:39:40 -0800
From: Dan Williams <dan.j.williams@...el.com>
To: Arnd Bergmann <arnd@...nel.org>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Dan Williams <dan.j.williams@...el.com>,
"Dave Jiang" <dave.jiang@...el.com>
CC: Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] dax/hmem: build hmem device support as module if possible
Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> When device_hmem.o is enabled but dax itself is a loadable module, the
> dax_hmem support fails to link because Kbuild never compiles built-in
> code under drivers/dax:
>
> ERROR: modpost: "walk_hmem_resources" [drivers/dax/hmem/dax_hmem.ko] undefined!
>
> Make sure that drivers/dax is entered for compiling built-in code
> even with CONFIG_DAX=m.
>
> Fixes: 7dab174e2e27 ("dax/hmem: Move hmem device registration to dax_hmem.ko")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
Thanks, applied.
Powered by blists - more mailing lists