Skip to contentSkip to conversation

bindings: rust: add missing license and copyright boilerplate

PATCH In review Bartosz Golaszewski 4 participants 4 messages Jun 13, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bindings: rust: add missing license and copyright boilerplate

From: Bartosz Golaszewski <[email protected]>

Make reuse happy again by adding appropriate license and copyright info.

Fixes 1f8085953086 ("bindings: rust: build against pkg-config info")
---
 bindings/rust/libgpiod-sys/wrapper.h | 4 ++++
 1 file changed, 4 insertions(+)
bindings/rust/libgpiod-sys/wrapper.h +4 -0
index 8a8bd41..e5cdfa0 100644
@@ -1 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
+// SPDX-FileCopyrightText: 2023 Linaro Ltd.
+// SPDX-FileCopyrightText: 2023 Erik Schilling <[email protected]>
+
 #include <gpiod.h>
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Make reuse happy again by adding appropriate license and copyright info.

Fixes 1f8085953086 ("bindings: rust: build against pkg-config info")
---
 bindings/rust/libgpiod-sys/wrapper.h | 4 ++++
 1 file changed, 4 insertions(+)
bindings/rust/libgpiod-sys/wrapper.h +0 -0
index 8a8bd41..e5cdfa0 100644

bindings/rust/libgpiod-sys/wrapper.h line 5

Quoted 5 lines
bindings/rust/libgpiod-sys/wrapper.h +4 -0
@@ -1 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
+// SPDX-FileCopyrightText: 2023 Linaro Ltd.
+// SPDX-FileCopyrightText: 2023 Erik Schilling <[email protected]>
+
 #include <gpiod.h>
Signature · 1 line
viresh
#2 lore raw
Quoted 25 lines · Viresh Kumar
Quoted 15 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Make reuse happy again by adding appropriate license and copyright info.

Fixes 1f8085953086 ("bindings: rust: build against pkg-config info")
---
 bindings/rust/libgpiod-sys/wrapper.h | 4 ++++
 1 file changed, 4 insertions(+)
bindings/rust/libgpiod-sys/wrapper.h +0 -0
index 8a8bd41..e5cdfa0 100644

bindings/rust/libgpiod-sys/wrapper.h line 5

Quoted 5 lines
bindings/rust/libgpiod-sys/wrapper.h +4 -0
@@ -1 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
+// SPDX-FileCopyrightText: 2023 Linaro Ltd.
+// SPDX-FileCopyrightText: 2023 Erik Schilling <[email protected]>
+
 #include <gpiod.h>
Quoted 2 lines

--
viresh

Ah C headers should use /* */ comments for SPDX stuff. I'll fix it when applying.

Bart

#3 lore raw
Quoted 25 lines · Bartosz Golaszewski
Quoted 11 lines · Bartosz Golaszewski
Quoted 10 lines

From: Bartosz Golaszewski <[email protected]>

Make reuse happy again by adding appropriate license and copyright info.

Fixes 1f8085953086 ("bindings: rust: build against pkg-config info")
---
 bindings/rust/libgpiod-sys/wrapper.h | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 10 lines

bindings/rust/libgpiod-sys/wrapper.h line 5

Quoted 10 lines
bindings/rust/libgpiod-sys/wrapper.h +4 -0
index 8a8bd41..e5cdfa0 100644
@@ -1 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
+// SPDX-FileCopyrightText: 2023 Linaro Ltd.
+// SPDX-FileCopyrightText: 2023 Erik Schilling <[email protected]>
+
 #include <gpiod.h>

Ah C headers should use /* */ comments for SPDX stuff. I'll fix it when applying.

Quoted 1 line

Bart

- Erik