From: Viresh Kumar Date: Tue, 23 May 2023 07:59:29 +0000 (+0530) Subject: bindings: fix typo "SPDX-FileCopyrightTest" in copyright headers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f6308c13076ff287776fc88fcf2ab14be645ccfc;p=qemu-gpiodev%2Flibgpiod.git bindings: fix typo "SPDX-FileCopyrightTest" in copyright headers It should be SPDX-FileCopyrightText instead. Fix it. Reported-by: Erik Schilling Signed-off-by: Viresh Kumar Reviewed-by: Erik Schilling Signed-off-by: Bartosz Golaszewski --- diff --git a/bindings/python/gpiod/version.py b/bindings/python/gpiod/version.py index 1ad903e..2e182a3 100644 --- a/bindings/python/gpiod/version.py +++ b/bindings/python/gpiod/version.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski __version__ = "2.0.1" diff --git a/bindings/rust/.gitignore b/bindings/rust/.gitignore index 6fe7bde..a8bda09 100644 --- a/bindings/rust/.gitignore +++ b/bindings/rust/.gitignore @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Viresh Kumar +# SPDX-FileCopyrightText: 2022 Viresh Kumar target Cargo.lock diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml index b4a28fd..2e026b4 100644 --- a/bindings/rust/Cargo.toml +++ b/bindings/rust/Cargo.toml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Viresh Kumar +# SPDX-FileCopyrightText: 2022 Viresh Kumar [workspace] diff --git a/bindings/rust/Makefile.am b/bindings/rust/Makefile.am index 7903f82..e89c393 100644 --- a/bindings/rust/Makefile.am +++ b/bindings/rust/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Viresh Kumar +# SPDX-FileCopyrightText: 2022 Viresh Kumar EXTRA_DIST = Cargo.toml SUBDIRS = gpiosim-sys libgpiod libgpiod-sys diff --git a/bindings/rust/gpiosim-sys/Cargo.toml b/bindings/rust/gpiosim-sys/Cargo.toml index 9aa047f..af30748 100644 --- a/bindings/rust/gpiosim-sys/Cargo.toml +++ b/bindings/rust/gpiosim-sys/Cargo.toml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Viresh Kumar +# SPDX-FileCopyrightText: 2022 Viresh Kumar [package] name = "gpiosim-sys" diff --git a/bindings/rust/gpiosim-sys/Makefile.am b/bindings/rust/gpiosim-sys/Makefile.am index 9471b0e..3107223 100644 --- a/bindings/rust/gpiosim-sys/Makefile.am +++ b/bindings/rust/gpiosim-sys/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski EXTRA_DIST = build.rs Cargo.toml README.md SUBDIRS = src diff --git a/bindings/rust/gpiosim-sys/README.md b/bindings/rust/gpiosim-sys/README.md index 686d522..6cd24d9 100644 --- a/bindings/rust/gpiosim-sys/README.md +++ b/bindings/rust/gpiosim-sys/README.md @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Viresh Kumar +# SPDX-FileCopyrightText: 2022 Viresh Kumar # Generated gpiosim Rust FFI bindings Automatically generated Rust FFI bindings via diff --git a/bindings/rust/gpiosim-sys/build.rs b/bindings/rust/gpiosim-sys/build.rs index 0651c61..c31fccb 100644 --- a/bindings/rust/gpiosim-sys/build.rs +++ b/bindings/rust/gpiosim-sys/build.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar extern crate bindgen; diff --git a/bindings/rust/gpiosim-sys/src/Makefile.am b/bindings/rust/gpiosim-sys/src/Makefile.am index af104d0..e88f477 100644 --- a/bindings/rust/gpiosim-sys/src/Makefile.am +++ b/bindings/rust/gpiosim-sys/src/Makefile.am @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski EXTRA_DIST = lib.rs sim.rs diff --git a/bindings/rust/gpiosim-sys/src/lib.rs b/bindings/rust/gpiosim-sys/src/lib.rs index e363044..eed2a42 100644 --- a/bindings/rust/gpiosim-sys/src/lib.rs +++ b/bindings/rust/gpiosim-sys/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use libgpiod::{Error, OperationType, Result}; diff --git a/bindings/rust/gpiosim-sys/src/sim.rs b/bindings/rust/gpiosim-sys/src/sim.rs index 777bf08..896596f 100644 --- a/bindings/rust/gpiosim-sys/src/sim.rs +++ b/bindings/rust/gpiosim-sys/src/sim.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::ffi::{CStr, CString}; use std::os::raw::c_char; diff --git a/bindings/rust/libgpiod-sys/Cargo.toml b/bindings/rust/libgpiod-sys/Cargo.toml index 3bc3525..938a0d5 100644 --- a/bindings/rust/libgpiod-sys/Cargo.toml +++ b/bindings/rust/libgpiod-sys/Cargo.toml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Viresh Kumar +# SPDX-FileCopyrightText: 2022 Viresh Kumar [package] name = "libgpiod-sys" diff --git a/bindings/rust/libgpiod-sys/Makefile.am b/bindings/rust/libgpiod-sys/Makefile.am index 9471b0e..3107223 100644 --- a/bindings/rust/libgpiod-sys/Makefile.am +++ b/bindings/rust/libgpiod-sys/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski EXTRA_DIST = build.rs Cargo.toml README.md SUBDIRS = src diff --git a/bindings/rust/libgpiod-sys/README.md b/bindings/rust/libgpiod-sys/README.md index 7e6e643..3eb5c9d 100644 --- a/bindings/rust/libgpiod-sys/README.md +++ b/bindings/rust/libgpiod-sys/README.md @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Viresh Kumar +# SPDX-FileCopyrightText: 2022 Viresh Kumar # Generated libgpiod-sys Rust FFI bindings Automatically generated Rust FFI bindings via diff --git a/bindings/rust/libgpiod-sys/build.rs b/bindings/rust/libgpiod-sys/build.rs index e3ed04a..d4825a9 100644 --- a/bindings/rust/libgpiod-sys/build.rs +++ b/bindings/rust/libgpiod-sys/build.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar extern crate bindgen; diff --git a/bindings/rust/libgpiod-sys/src/Makefile.am b/bindings/rust/libgpiod-sys/src/Makefile.am index 36361e7..0ef728b 100644 --- a/bindings/rust/libgpiod-sys/src/Makefile.am +++ b/bindings/rust/libgpiod-sys/src/Makefile.am @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski EXTRA_DIST = lib.rs diff --git a/bindings/rust/libgpiod-sys/src/lib.rs b/bindings/rust/libgpiod-sys/src/lib.rs index 6852691..06f1a50 100644 --- a/bindings/rust/libgpiod-sys/src/lib.rs +++ b/bindings/rust/libgpiod-sys/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar #[allow(non_camel_case_types, non_upper_case_globals)] #[cfg_attr(test, allow(deref_nullptr, non_snake_case))] diff --git a/bindings/rust/libgpiod/Cargo.toml b/bindings/rust/libgpiod/Cargo.toml index 655e7a2..48681de 100644 --- a/bindings/rust/libgpiod/Cargo.toml +++ b/bindings/rust/libgpiod/Cargo.toml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Viresh Kumar +# SPDX-FileCopyrightText: 2022 Viresh Kumar [package] name = "libgpiod" diff --git a/bindings/rust/libgpiod/Makefile.am b/bindings/rust/libgpiod/Makefile.am index 38f2ebf..e9a10c1 100644 --- a/bindings/rust/libgpiod/Makefile.am +++ b/bindings/rust/libgpiod/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski command = cargo build --release --lib diff --git a/bindings/rust/libgpiod/examples/Makefile.am b/bindings/rust/libgpiod/examples/Makefile.am index 2e1ccbd..c1d2c17 100644 --- a/bindings/rust/libgpiod/examples/Makefile.am +++ b/bindings/rust/libgpiod/examples/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski EXTRA_DIST = \ gpiodetect.rs \ diff --git a/bindings/rust/libgpiod/examples/gpio_events.rs b/bindings/rust/libgpiod/examples/gpio_events.rs index b26c60b..a45b6db 100644 --- a/bindings/rust/libgpiod/examples/gpio_events.rs +++ b/bindings/rust/libgpiod/examples/gpio_events.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation to show handling of events, when the buffer // is read into multiple times. Based on gpiomon example. diff --git a/bindings/rust/libgpiod/examples/gpio_threaded_info_events.rs b/bindings/rust/libgpiod/examples/gpio_threaded_info_events.rs index 620f4ec..8853a7b 100644 --- a/bindings/rust/libgpiod/examples/gpio_threaded_info_events.rs +++ b/bindings/rust/libgpiod/examples/gpio_threaded_info_events.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation to show handling of info events, that are // generated from another thread. diff --git a/bindings/rust/libgpiod/examples/gpiodetect.rs b/bindings/rust/libgpiod/examples/gpiodetect.rs index 96581bc..9792252 100644 --- a/bindings/rust/libgpiod/examples/gpiodetect.rs +++ b/bindings/rust/libgpiod/examples/gpiodetect.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation of gpiodetect tool. diff --git a/bindings/rust/libgpiod/examples/gpiofind.rs b/bindings/rust/libgpiod/examples/gpiofind.rs index 99fba30..da0530d 100644 --- a/bindings/rust/libgpiod/examples/gpiofind.rs +++ b/bindings/rust/libgpiod/examples/gpiofind.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation of gpiofind tool. diff --git a/bindings/rust/libgpiod/examples/gpioget.rs b/bindings/rust/libgpiod/examples/gpioget.rs index a71612b..8e390f3 100644 --- a/bindings/rust/libgpiod/examples/gpioget.rs +++ b/bindings/rust/libgpiod/examples/gpioget.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation of gpioget tool. diff --git a/bindings/rust/libgpiod/examples/gpioinfo.rs b/bindings/rust/libgpiod/examples/gpioinfo.rs index 02d8c97..1fe1ae0 100644 --- a/bindings/rust/libgpiod/examples/gpioinfo.rs +++ b/bindings/rust/libgpiod/examples/gpioinfo.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation of gpioinfo tool. diff --git a/bindings/rust/libgpiod/examples/gpiomon.rs b/bindings/rust/libgpiod/examples/gpiomon.rs index 8f2a71a..c3564db 100644 --- a/bindings/rust/libgpiod/examples/gpiomon.rs +++ b/bindings/rust/libgpiod/examples/gpiomon.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation of the gpiomon tool. diff --git a/bindings/rust/libgpiod/examples/gpionotify.rs b/bindings/rust/libgpiod/examples/gpionotify.rs index 54445d2..fca1086 100644 --- a/bindings/rust/libgpiod/examples/gpionotify.rs +++ b/bindings/rust/libgpiod/examples/gpionotify.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2023 Linaro Ltd. -// SPDX-FileCopyrightTest: 2023 Bartosz Golaszewski +// SPDX-FileCopyrightText: 2023 Bartosz Golaszewski // // Simplified Rust implementation of the gpionotify tool. diff --git a/bindings/rust/libgpiod/examples/gpioset.rs b/bindings/rust/libgpiod/examples/gpioset.rs index 4b43010..607407d 100644 --- a/bindings/rust/libgpiod/examples/gpioset.rs +++ b/bindings/rust/libgpiod/examples/gpioset.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation of the gpioset tool. diff --git a/bindings/rust/libgpiod/examples/gpiowatch.rs b/bindings/rust/libgpiod/examples/gpiowatch.rs index a356fd5..26a2ed8 100644 --- a/bindings/rust/libgpiod/examples/gpiowatch.rs +++ b/bindings/rust/libgpiod/examples/gpiowatch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Simplified Rust implementation of the gpiowatch tool. diff --git a/bindings/rust/libgpiod/src/Makefile.am b/bindings/rust/libgpiod/src/Makefile.am index df63c72..5892600 100644 --- a/bindings/rust/libgpiod/src/Makefile.am +++ b/bindings/rust/libgpiod/src/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski EXTRA_DIST = \ chip.rs \ diff --git a/bindings/rust/libgpiod/src/chip.rs b/bindings/rust/libgpiod/src/chip.rs index f4554a1..f4de008 100644 --- a/bindings/rust/libgpiod/src/chip.rs +++ b/bindings/rust/libgpiod/src/chip.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar pub mod info { /// GPIO chip info event related definitions. diff --git a/bindings/rust/libgpiod/src/edge_event.rs b/bindings/rust/libgpiod/src/edge_event.rs index d840495..d324ce6 100644 --- a/bindings/rust/libgpiod/src/edge_event.rs +++ b/bindings/rust/libgpiod/src/edge_event.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::time::Duration; diff --git a/bindings/rust/libgpiod/src/event_buffer.rs b/bindings/rust/libgpiod/src/event_buffer.rs index 0675ea6..1deaf2b 100644 --- a/bindings/rust/libgpiod/src/event_buffer.rs +++ b/bindings/rust/libgpiod/src/event_buffer.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::ptr; diff --git a/bindings/rust/libgpiod/src/info_event.rs b/bindings/rust/libgpiod/src/info_event.rs index 8bd5585..b0ceb3b 100644 --- a/bindings/rust/libgpiod/src/info_event.rs +++ b/bindings/rust/libgpiod/src/info_event.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::time::Duration; diff --git a/bindings/rust/libgpiod/src/lib.rs b/bindings/rust/libgpiod/src/lib.rs index 8073bd4..26354e5 100644 --- a/bindings/rust/libgpiod/src/lib.rs +++ b/bindings/rust/libgpiod/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar // // Rust wrappers for GPIOD APIs diff --git a/bindings/rust/libgpiod/src/line_config.rs b/bindings/rust/libgpiod/src/line_config.rs index a2721a2..e973cde 100644 --- a/bindings/rust/libgpiod/src/line_config.rs +++ b/bindings/rust/libgpiod/src/line_config.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use super::{ gpiod, diff --git a/bindings/rust/libgpiod/src/line_info.rs b/bindings/rust/libgpiod/src/line_info.rs index b45878c..702f1b4 100644 --- a/bindings/rust/libgpiod/src/line_info.rs +++ b/bindings/rust/libgpiod/src/line_info.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::ffi::CStr; use std::str; diff --git a/bindings/rust/libgpiod/src/line_request.rs b/bindings/rust/libgpiod/src/line_request.rs index ebf41f2..b175eea 100644 --- a/bindings/rust/libgpiod/src/line_request.rs +++ b/bindings/rust/libgpiod/src/line_request.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::os::unix::prelude::AsRawFd; use std::time::Duration; diff --git a/bindings/rust/libgpiod/src/line_settings.rs b/bindings/rust/libgpiod/src/line_settings.rs index 1c5ac66..918d6c2 100644 --- a/bindings/rust/libgpiod/src/line_settings.rs +++ b/bindings/rust/libgpiod/src/line_settings.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::time::Duration; diff --git a/bindings/rust/libgpiod/src/request_config.rs b/bindings/rust/libgpiod/src/request_config.rs index 2ad68ef..0c6c5c1 100644 --- a/bindings/rust/libgpiod/src/request_config.rs +++ b/bindings/rust/libgpiod/src/request_config.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::ffi::{CStr, CString}; use std::os::raw::c_char; diff --git a/bindings/rust/libgpiod/tests/Makefile.am b/bindings/rust/libgpiod/tests/Makefile.am index 198f4e4..8927649 100644 --- a/bindings/rust/libgpiod/tests/Makefile.am +++ b/bindings/rust/libgpiod/tests/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski EXTRA_DIST = \ chip.rs \ diff --git a/bindings/rust/libgpiod/tests/chip.rs b/bindings/rust/libgpiod/tests/chip.rs index 702af93..f264708 100644 --- a/bindings/rust/libgpiod/tests/chip.rs +++ b/bindings/rust/libgpiod/tests/chip.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar mod common; diff --git a/bindings/rust/libgpiod/tests/common/Makefile.am b/bindings/rust/libgpiod/tests/common/Makefile.am index 4cfc355..6a32db4 100644 --- a/bindings/rust/libgpiod/tests/common/Makefile.am +++ b/bindings/rust/libgpiod/tests/common/Makefile.am @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2022 Linaro Ltd. -# SPDX-FileCopyrightTest: 2022 Bartosz Golaszewski +# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski EXTRA_DIST = config.rs mod.rs diff --git a/bindings/rust/libgpiod/tests/common/config.rs b/bindings/rust/libgpiod/tests/common/config.rs index 36ccc94..7bb1f65 100644 --- a/bindings/rust/libgpiod/tests/common/config.rs +++ b/bindings/rust/libgpiod/tests/common/config.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar use std::sync::{Arc, Mutex}; use std::time::Duration; diff --git a/bindings/rust/libgpiod/tests/common/mod.rs b/bindings/rust/libgpiod/tests/common/mod.rs index 5f725c6..586115b 100644 --- a/bindings/rust/libgpiod/tests/common/mod.rs +++ b/bindings/rust/libgpiod/tests/common/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar #[allow(dead_code)] mod config; diff --git a/bindings/rust/libgpiod/tests/edge_event.rs b/bindings/rust/libgpiod/tests/edge_event.rs index 45c1cfc..03b7e7c 100644 --- a/bindings/rust/libgpiod/tests/edge_event.rs +++ b/bindings/rust/libgpiod/tests/edge_event.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar mod common; diff --git a/bindings/rust/libgpiod/tests/info_event.rs b/bindings/rust/libgpiod/tests/info_event.rs index f06dd2d..c969af7 100644 --- a/bindings/rust/libgpiod/tests/info_event.rs +++ b/bindings/rust/libgpiod/tests/info_event.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar mod common; diff --git a/bindings/rust/libgpiod/tests/line_config.rs b/bindings/rust/libgpiod/tests/line_config.rs index b5a04ef..7fccf8c 100644 --- a/bindings/rust/libgpiod/tests/line_config.rs +++ b/bindings/rust/libgpiod/tests/line_config.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar mod common; diff --git a/bindings/rust/libgpiod/tests/line_info.rs b/bindings/rust/libgpiod/tests/line_info.rs index 9e4928b..ce66a60 100644 --- a/bindings/rust/libgpiod/tests/line_info.rs +++ b/bindings/rust/libgpiod/tests/line_info.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar mod common; diff --git a/bindings/rust/libgpiod/tests/line_request.rs b/bindings/rust/libgpiod/tests/line_request.rs index d60e15a..d49874f 100644 --- a/bindings/rust/libgpiod/tests/line_request.rs +++ b/bindings/rust/libgpiod/tests/line_request.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar mod common; diff --git a/bindings/rust/libgpiod/tests/line_settings.rs b/bindings/rust/libgpiod/tests/line_settings.rs index de2148e..1aaa6b4 100644 --- a/bindings/rust/libgpiod/tests/line_settings.rs +++ b/bindings/rust/libgpiod/tests/line_settings.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar mod common; diff --git a/bindings/rust/libgpiod/tests/request_config.rs b/bindings/rust/libgpiod/tests/request_config.rs index d78c4bd..a925a68 100644 --- a/bindings/rust/libgpiod/tests/request_config.rs +++ b/bindings/rust/libgpiod/tests/request_config.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause // SPDX-FileCopyrightText: 2022 Linaro Ltd. -// SPDX-FileCopyrightTest: 2022 Viresh Kumar +// SPDX-FileCopyrightText: 2022 Viresh Kumar mod common;