Re: [PATCH] sched/cpufreq: Add the SPDX tags

From: Daniel Lezcano
Date: Mon Dec 03 2018 - 05:07:40 EST


On 18/10/2018 21:55, Daniel Lezcano wrote:
> The SPDX tags are not present in cpufreq.c and cpufreq_schedutil.c.
>
> Add them and remove the license descriptions
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

Hi Rafael,

I think this patch passed between the cracks.

-- Daniel

> ---
> kernel/sched/cpufreq.c | 5 +----
> kernel/sched/cpufreq_schedutil.c | 5 +----
> 2 files changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/kernel/sched/cpufreq.c b/kernel/sched/cpufreq.c
> index 5e54cbc..22bd898 100644
> --- a/kernel/sched/cpufreq.c
> +++ b/kernel/sched/cpufreq.c
> @@ -1,12 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * Scheduler code and data structures related to cpufreq.
> *
> * Copyright (C) 2016, Intel Corporation
> * Author: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> */
> #include "sched.h"
>
> diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c
> index 3fffad3..626ddd4 100644
> --- a/kernel/sched/cpufreq_schedutil.c
> +++ b/kernel/sched/cpufreq_schedutil.c
> @@ -1,12 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * CPUFreq governor based on scheduler-provided CPU utilization data.
> *
> * Copyright (C) 2016, Intel Corporation
> * Author: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>


--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog