Skip to contentSkip to conversation

perf tools: correct license on jsmn json parser

PATCH Superseded Ed Maste 4 participants 7 messages Dec 12, 2019 – May 29, 2020 perf events

lore
Share & tools
lore

Ed Maste

author
#0 lore raw

PATCH 1/1 perf tools: correct license on jsmn json parser

From: Ed Maste <[email protected]>

These files are part of the jsmn json parser, introduced in 867a979a83. Correct the SPDX tag to indicate that they are under the MIT license.

---
 tools/perf/pmu-events/jsmn.h | 2 +-
 tools/perf/pmu-events/json.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/perf/pmu-events/jsmn.h +1 -1
index c7b0f6ea2a31..1bdfd55fff30 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 #ifndef __JSMN_H_
 #define __JSMN_H_
 
tools/perf/pmu-events/json.h +1 -1
index fbcd5a0590ad..7cb29fac8c31 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 #ifndef JSON_H
 #define JSON_H 1
 
Signature · 1 line
2.24.0
#1 lore raw
Quoted 3 lines · Ed Maste

These files are part of the jsmn json parser, introduced in 867a979a83. Correct the SPDX tag to indicate that they are under the MIT license.

Oh, it looks like I made a mistake. json.h is actually part of Andi Kleen's wrapper and I suspect should be 2-clause BSD as json.c is; I'll leave that to Andi.

jsmn.h is MIT licensed and does have the wrong SPDX tag.

Acked-by
#2 lore raw
Quoted 10 lines · Ed Maste
Quoted 3 lines · Ed Maste

These files are part of the jsmn json parser, introduced in 867a979a83. Correct the SPDX tag to indicate that they are under the MIT license.

Oh, it looks like I made a mistake. json.h is actually part of Andi Kleen's wrapper and I suspect should be 2-clause BSD as json.c is; I'll leave that to Andi.

jsmn.h is MIT licensed and does have the wrong SPDX tag.

Yes should fix the jsmn.h tag to MIT license.

-Andi

#3 lore raw

PATCH v2 1/1 perf tools: correct license on jsmn json parser

In reply to Ed Maste

From: Ed Maste <[email protected]>

This header is part of the jsmn json parser, introduced in 867a979a83. Correct the SPDX tag to indicate that it is under the MIT license.

---
 tools/perf/pmu-events/jsmn.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/pmu-events/jsmn.h +1 -1
index c7b0f6ea2a31..1bdfd55fff30 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 #ifndef __JSMN_H_
 #define __JSMN_H_
 
Signature · 1 line
2.24.0
#4 lore raw

Adding Arnaldo for a perf tools change.

Quoted 24 lines · On Fri, Dec 13, 2019 at 03:46:25PM +0000, [email protected] wrote:

From: Ed Maste <[email protected]>

This header is part of the jsmn json parser, introduced in 867a979a83. Correct the SPDX tag to indicate that it is under the MIT license.

---
 tools/perf/pmu-events/jsmn.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/pmu-events/jsmn.h +1 -1
index c7b0f6ea2a31..1bdfd55fff30 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 #ifndef __JSMN_H_
 #define __JSMN_H_
 
Signature · 1 line
2.24.0
author
#5 lore raw

PATCH RESEND v2 1/1 perf tools: correct license on jsmn json parser

In reply to [email protected]

From: Ed Maste <[email protected]>

This header is part of the jsmn json parser, introduced in 867a979a83. Correct the SPDX tag to indicate that it is under the MIT license.

---
 tools/perf/pmu-events/jsmn.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/pmu-events/jsmn.h +1 -1
index c7b0f6ea2a31..1bdfd55fff30 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 #ifndef __JSMN_H_
 #define __JSMN_H_
 
Signature · 1 line
2.24.0
maintainer Applied
#6 lore raw

Em Thu, May 28, 2020 at 05:08:59PM +0000, Ed Maste escreveu:

Quoted 4 lines

From: Ed Maste <[email protected]>

This header is part of the jsmn json parser, introduced in 867a979a83. Correct the SPDX tag to indicate that it is under the MIT license.

Thanks, applied.

- Arnaldo

Quoted 19 lines
---
 tools/perf/pmu-events/jsmn.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/pmu-events/jsmn.h +1 -1
index c7b0f6ea2a31..1bdfd55fff30 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 #ifndef __JSMN_H_
 #define __JSMN_H_
 
Signature · 1 line
2.24.0
Signature · 1 line
- Arnaldo