2022-11-14 06:07:03

by Meng, Li (Jassmine)

[permalink] [raw]
Subject: [PATCH] cpufreq: amd-pstate: fix spdxcheck warnings for amd-pstate-ut.c

spdxcheck warnings: (new ones prefixed by >>)
>> drivers/cpufreq/amd-pstate-ut.c: 1:28 Invalid License ID:
GPL-1.0-or-later
drivers/spi/spi-gxp.c: 1:35 Invalid token: =or-later

Signed-off-by: Meng Li <[email protected]>
Reported-by: kernel test robot <[email protected]>
---
drivers/cpufreq/amd-pstate-ut.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/amd-pstate-ut.c b/drivers/cpufreq/amd-pstate-ut.c
index e4a5b4d90f83..7f3fe2048981 100644
--- a/drivers/cpufreq/amd-pstate-ut.c
+++ b/drivers/cpufreq/amd-pstate-ut.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-1.0-or-later
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* AMD Processor P-state Frequency Driver Unit Test
*
--
2.34.1



2022-11-16 16:16:51

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: amd-pstate: fix spdxcheck warnings for amd-pstate-ut.c

On 11/13/22 22:40, Meng Li wrote:
> spdxcheck warnings: (new ones prefixed by >>)
>>> drivers/cpufreq/amd-pstate-ut.c: 1:28 Invalid License ID:
> GPL-1.0-or-later
> drivers/spi/spi-gxp.c: 1:35 Invalid token: =or-later
>
> Signed-off-by: Meng Li <[email protected]>
> Reported-by: kernel test robot <[email protected]>
> ---
> drivers/cpufreq/amd-pstate-ut.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpufreq/amd-pstate-ut.c b/drivers/cpufreq/amd-pstate-ut.c
> index e4a5b4d90f83..7f3fe2048981 100644
> --- a/drivers/cpufreq/amd-pstate-ut.c
> +++ b/drivers/cpufreq/amd-pstate-ut.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-1.0-or-later
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * AMD Processor P-state Frequency Driver Unit Test
> *

Thank you. Applied to linux-kselftest next for Linux 6.2-rc1

thanks,
-- Shuah