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: <20191005174146.6ae6c528@archlinux>
Date:   Sat, 5 Oct 2019 17:41:46 +0100
From:   Jonathan Cameron <jic23@...nel.org>
To:     zhong jiang <zhongjiang@...wei.com>
Cc:     <knaack.h@....de>, <lars@...afoo.de>, <pmeerw@...erw.net>,
        <linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] iio: Fix an undefied reference error in noa1305_probe

On Mon, 23 Sep 2019 10:04:32 +0800
zhong jiang <zhongjiang@...wei.com> wrote:

> I hit the following error when compile the kernel.
> 
> drivers/iio/light/noa1305.o: In function `noa1305_probe':
> noa1305.c:(.text+0x65): undefined reference to `__devm_regmap_init_i2c'
> make: *** [vmlinux] Error 1
> 
> Signed-off-by: zhong jiang <zhongjiang@...wei.com>
Applied to the fixes-togreg branch of iio.git and marked for stable.

Thanks,

Jonathan

> ---
>  drivers/iio/light/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
> index 08d7e1e..4a1a883 100644
> --- a/drivers/iio/light/Kconfig
> +++ b/drivers/iio/light/Kconfig
> @@ -314,6 +314,7 @@ config MAX44009
>  config NOA1305
>  	tristate "ON Semiconductor NOA1305 ambient light sensor"
>  	depends on I2C
> +	select REGMAP_I2C
>  	help
>  	 Say Y here if you want to build support for the ON Semiconductor
>  	 NOA1305 ambient light sensor.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ