diff mbox series

[v2,3/5] selftests/resctrl: Add license to resctrl_test Makefile

Message ID 20211213100154.180599-4-tan.shaopeng@jp.fujitsu.com
State Superseded
Headers show
Series selftests/resctrl: Add resctrl_tests into kselftest set | expand

Commit Message

Shaopeng Tan Dec. 13, 2021, 10:01 a.m. UTC
Add Software Package Data Exchange license information to resctrl_test Makefile.

Signed-off-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
---
 tools/testing/selftests/resctrl/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Reinette Chatre Jan. 6, 2022, 11:49 p.m. UTC | #1
Hi Shaopeng Tan,

On 12/13/2021 2:01 AM, Shaopeng Tan wrote:
> Add Software Package Data Exchange license information to resctrl_test Makefile.
> 

Considering the patch series, why is this change needed to be able to run resctrl
tests from within the kselftest framework?

> Signed-off-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
> ---
>  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 c9e8540fc594..adfd92145e12 100644
> --- a/tools/testing/selftests/resctrl/Makefile
> +++ b/tools/testing/selftests/resctrl/Makefile
> @@ -1,3 +1,5 @@
> +#SPDX-License-Identifier: GPL-2.0
> +

Please see Documentation/process/license-rules.rst and examples from
other Makefiles in this area.

>  CFLAGS += -g -Wall -O2 -D_FORTIFY_SOURCE=2
>  
>  TEST_GEN_PROGS := resctrl_tests

Reinette
diff mbox series

Patch

diff --git a/tools/testing/selftests/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile
index c9e8540fc594..adfd92145e12 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