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]
Date:   Mon, 26 Sep 2022 11:15:42 +0530
From:   Viresh Kumar <viresh.kumar@...aro.org>
To:     Xiu Jianfeng <xiujianfeng@...wei.com>
Cc:     rafael@...nel.org, patrice.chotard@...s.st.com,
        linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] cpufreq: Add __init annotation to module init funcs

On 24-09-22, 17:21, Xiu Jianfeng wrote:
> Add missing __init annotation to module init funcs.
> 
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
> ---
>  drivers/cpufreq/highbank-cpufreq.c | 2 +-
>  drivers/cpufreq/sti-cpufreq.c      | 2 +-
>  drivers/cpufreq/ti-cpufreq.c       | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/cpufreq/highbank-cpufreq.c b/drivers/cpufreq/highbank-cpufreq.c
> index ac57cddc5f2f..a45864701143 100644
> --- a/drivers/cpufreq/highbank-cpufreq.c
> +++ b/drivers/cpufreq/highbank-cpufreq.c
> @@ -55,7 +55,7 @@ static struct notifier_block hb_cpufreq_clk_nb = {
>  	.notifier_call = hb_cpufreq_clk_notify,
>  };
>  
> -static int hb_cpufreq_driver_init(void)
> +static int __init hb_cpufreq_driver_init(void)
>  {
>  	struct platform_device_info devinfo = { .name = "cpufreq-dt", };
>  	struct device *cpu_dev;
> diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c
> index a67df90848c2..1a63aeea8711 100644
> --- a/drivers/cpufreq/sti-cpufreq.c
> +++ b/drivers/cpufreq/sti-cpufreq.c
> @@ -252,7 +252,7 @@ static int sti_cpufreq_fetch_syscon_registers(void)
>  	return 0;
>  }
>  
> -static int sti_cpufreq_init(void)
> +static int __init sti_cpufreq_init(void)
>  {
>  	int ret;
>  
> diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c
> index df85a77d476b..f64180dd2005 100644
> --- a/drivers/cpufreq/ti-cpufreq.c
> +++ b/drivers/cpufreq/ti-cpufreq.c
> @@ -398,7 +398,7 @@ static int ti_cpufreq_probe(struct platform_device *pdev)
>  	return ret;
>  }
>  
> -static int ti_cpufreq_init(void)
> +static int __init ti_cpufreq_init(void)
>  {
>  	const struct of_device_id *match;

Applied. Thanks.

-- 
viresh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ