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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 15 Nov 2021 17:51:52 +0000
From:   Jonathan Cameron <Jonathan.Cameron@...wei.com>
To:     Randy Dunlap <rdunlap@...radead.org>
CC:     <linux-kernel@...r.kernel.org>,
        Russell King <rmk+kernel@...linux.org.uk>,
        <linux-mips@...r.kernel.org>, John Crispin <john@...ozen.org>,
        "Thomas Bogendoerfer" <tsbogend@...ha.franken.de>,
        Jonathan Cameron <jic23@...nel.org>,
        <linux-iio@...r.kernel.org>, Russell King <linux@...linux.org.uk>,
        Andy Shevchenko <andy.shevchenko@...il.com>
Subject: Re: [PATCH] mips: lantiq: add support for clk_get_parent()

On Sun, 14 Nov 2021 17:20:51 -0800
Randy Dunlap <rdunlap@...radead.org> wrote:

> Provide a simple implementation of clk_get_parent() in the
> lantiq subarch so that callers of it will build without errors.
> 
> Fixes this build error:
> ERROR: modpost: "clk_get_parent" [drivers/iio/adc/ingenic-adc.ko] undefined!
> 
> Fixes: 171bb2f19ed6 ("MIPS: Lantiq: Add initial support for Lantiq SoCs")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Suggested-by: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
> Cc: linux-mips@...r.kernel.org
> Cc: John Crispin <john@...ozen.org>
> Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> Cc: Jonathan Cameron <jic23@...nel.org>
> Cc: linux-iio@...r.kernel.org
> Cc: Russell King <linux@...linux.org.uk>
> Cc: Andy Shevchenko <andy.shevchenko@...il.com>

Acked-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>

Thanks for tidying this up.

Jonathan

> ---
>  arch/mips/lantiq/clk.c |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> --- linux-next-20211112.orig/arch/mips/lantiq/clk.c
> +++ linux-next-20211112/arch/mips/lantiq/clk.c
> @@ -158,6 +158,12 @@ void clk_deactivate(struct clk *clk)
>  }
>  EXPORT_SYMBOL(clk_deactivate);
>  
> +struct clk *clk_get_parent(struct clk *clk)
> +{
> +	return NULL;
> +}
> +EXPORT_SYMBOL(clk_get_parent);
> +
>  static inline u32 get_counter_resolution(void)
>  {
>  	u32 res;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ