2022-02-16 07:16:18

by Shaopeng Tan

[permalink] [raw]
Subject: [PATCH] selftests/resctrl: Add missing SPDX license to Makefile

Add the missing SPDX(SPDX-License-Identifier) license header to
tools/testing/selftests/resctrl/Makefile.

Signed-off-by: Shaopeng Tan <[email protected]>
---
tools/testing/selftests/resctrl/Makefile | 2 ++
1 file changed, 2 insertions(+)

diff --git a/tools/testing/selftests/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile
index de26638540ba..d661eb2df19b 100644
--- a/tools/testing/selftests/resctrl/Makefile
+++ b/tools/testing/selftests/resctrl/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+
CFLAGS += -g -Wall -O2 -D_FORTIFY_SOURCE=2

TEST_GEN_PROGS := resctrl_tests
--
2.27.0


2022-02-19 00:55:51

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH] selftests/resctrl: Add missing SPDX license to Makefile

On 2/18/22 1:47 PM, Shuah Khan wrote:
> On 2/15/22 7:28 PM, Shaopeng Tan wrote:
>> Add the missing SPDX(SPDX-License-Identifier) license header to
>> tools/testing/selftests/resctrl/Makefile.
>>
>> Signed-off-by: Shaopeng Tan <[email protected]>
>> ---
>>   tools/testing/selftests/resctrl/Makefile | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/tools/testing/selftests/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile
>> index de26638540ba..d661eb2df19b 100644
>> --- a/tools/testing/selftests/resctrl/Makefile
>> +++ b/tools/testing/selftests/resctrl/Makefile
>> @@ -1,3 +1,5 @@
>> +# SPDX-License-Identifier: GPL-2.0
>> +
>>   CFLAGS += -g -Wall -O2 -D_FORTIFY_SOURCE=2
>>   TEST_GEN_PROGS := resctrl_tests
>>
>
> This looks good to me. I will queue this up for Linux 5.18-rc1
>

Looks like this depends on the 5 patch series. Please include this
one on the same series.

thanks,
-- Shuah

2022-02-19 00:58:05

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH] selftests/resctrl: Add missing SPDX license to Makefile

On 2/15/22 7:28 PM, Shaopeng Tan wrote:
> Add the missing SPDX(SPDX-License-Identifier) license header to
> tools/testing/selftests/resctrl/Makefile.
>
> Signed-off-by: Shaopeng Tan <[email protected]>
> ---
> tools/testing/selftests/resctrl/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/testing/selftests/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile
> index de26638540ba..d661eb2df19b 100644
> --- a/tools/testing/selftests/resctrl/Makefile
> +++ b/tools/testing/selftests/resctrl/Makefile
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: GPL-2.0
> +
> CFLAGS += -g -Wall -O2 -D_FORTIFY_SOURCE=2
>
> TEST_GEN_PROGS := resctrl_tests
>

This looks good to me. I will queue this up for Linux 5.18-rc1

thanks,
-- Shuah