[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dd4b1b389faf7b0219e1dccf48e17126887b3c70.camel@suse.de>
Date: Mon, 15 Mar 2021 11:46:41 +0100
From: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
srini@...nel.org
Cc: linux-kernel@...r.kernel.org, kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] nvmem: rmem: fix undefined reference to memremap
On Mon, 2021-03-15 at 10:44 +0000, Srinivas Kandagatla wrote:
> Fix below error reporte by kernel test robot
> rmem.c:(.text+0x14e): undefined reference to memremap
> s390x-linux-gnu-ld: rmem.c:(.text+0x1b6): undefined reference to memunmap
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
> ---
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>
Thanks!
> drivers/nvmem/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
> index 642ddc699fd1..dd2019006838 100644
> --- a/drivers/nvmem/Kconfig
> +++ b/drivers/nvmem/Kconfig
> @@ -272,6 +272,7 @@ config SPRD_EFUSE
>
>
> config NVMEM_RMEM
> tristate "Reserved Memory Based Driver Support"
> + depends on HAS_IOMEM
> help
> This driver maps reserved memory into an nvmem device. It might be
> useful to expose information left by firmware in memory.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists