From patchwork Tue May 23 07:59:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 685501 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECD1AC77B75 for ; Tue, 23 May 2023 08:01:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235957AbjEWIBt (ORCPT ); Tue, 23 May 2023 04:01:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235976AbjEWIBj (ORCPT ); Tue, 23 May 2023 04:01:39 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADC5718E for ; Tue, 23 May 2023 01:01:03 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-253e0f1e514so2476193a91.1 for ; Tue, 23 May 2023 01:01:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684828776; x=1687420776; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OOySykTT7sqL7uBoM3k+RPN8SX5X1CuIPzecSPH1hR0=; b=X4zGe8lbj+4+Okr3vUH532CcCReCtaAWYN/2e0vgVss1/Oo7RihURIRK3Na3ycZ70W Ni8jB4iigvKXtvN8wBEBIqejoQ/KZL/na5zyT1Dss7hIreLY7HgZTDyzSbao1h1HbXqz pIZfSqNhGRy2UL+9AZurQf4HoHqToDpuPKHDq23kR6Q2jK4z+8/5SPr2Z9v7W1ZxU0md SNIrNHHYzh5Cu3vkDKzsg+FTOxCnkZveA5I1kQtAO2OkgINqlxwxsqzYE69tbU7PYsyK LeZWMI38sjgj567LniTlX4pLMqAUYQOGyf84MaN1hQxpevgU7EY8PavUEPF8hF1dnQOa 0Xzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684828776; x=1687420776; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OOySykTT7sqL7uBoM3k+RPN8SX5X1CuIPzecSPH1hR0=; b=aRPxrb5vR0mordhezVNazB7yxTd1r2nE9E7qVJM0MK1NtvZgn51ueDk9aYEXJWFxEd fvjXaTkaTEHoWxfke8EWA9ThqvXaKJ4CMKb7b5dqW2Cqnclg4gBvlE1A18PVTZqCU5Ww N7LqDXQze0lVk1geKEZHaDNQLb93W+jSLHopEJRLG1wtan1dQhkvoll6w+P5fvBV6A0E QlYjoCl7RRbvuU/+JO/AskhaP+tqUrAW9AAYu9QBzFm+RZsM3+9Z0g9MYcM+Io8Vt0mj J4pJKOXuhwnI++HafNpOYlKooXicUgWp8deUPdHXzplASiBckcr0Q5lLfHEy6zWg11oh PEKw== X-Gm-Message-State: AC+VfDyj1i0MnyKU8UWaEZp9IjdrcHo9Y8+AMWBxH5i96xmWGzpWVZEB DgaUCV3zVOKAfjzJ2+dfQY9VxA== X-Google-Smtp-Source: ACHHUZ7cwGvQShhKiAp0UDFY0Q+3xu/HPT4goqsmZ+4eS3OY+sP1KSqNXUTwZ/4xFhi9KwTvL+sGnA== X-Received: by 2002:a17:90b:1912:b0:24d:e4fd:f487 with SMTP id mp18-20020a17090b191200b0024de4fdf487mr9119208pjb.14.1684828776015; Tue, 23 May 2023 00:59:36 -0700 (PDT) Received: from localhost ([122.172.87.195]) by smtp.gmail.com with ESMTPSA id bt21-20020a17090af01500b0023d0c2f39f2sm6827370pjb.19.2023.05.23.00.59.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 00:59:34 -0700 (PDT) From: Viresh Kumar To: Linus Walleij , Bartosz Golaszewski Cc: Viresh Kumar , Vincent Guittot , linux-gpio@vger.kernel.org, Erik Schilling Subject: [libgpiod][PATCH] bindings: Fix typo "SPDX-FileCopyrightTest" Date: Tue, 23 May 2023 13:29:29 +0530 Message-Id: <2a4dd7e50f7be9d515059f1ac4709eb2fdc7d36d.1684828674.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org It should be SPDX-FileCopyrightText instead. Fix it. Reported-by: Erik Schilling Signed-off-by: Viresh Kumar --- bindings/python/gpiod/version.py | 2 +- bindings/rust/.gitignore | 2 +- bindings/rust/Cargo.toml | 2 +- bindings/rust/Makefile.am | 2 +- bindings/rust/gpiosim-sys/Cargo.toml | 2 +- bindings/rust/gpiosim-sys/Makefile.am | 2 +- bindings/rust/gpiosim-sys/README.md | 2 +- bindings/rust/gpiosim-sys/build.rs | 2 +- bindings/rust/gpiosim-sys/src/Makefile.am | 2 +- bindings/rust/gpiosim-sys/src/lib.rs | 2 +- bindings/rust/gpiosim-sys/src/sim.rs | 2 +- bindings/rust/libgpiod-sys/Cargo.toml | 2 +- bindings/rust/libgpiod-sys/Makefile.am | 2 +- bindings/rust/libgpiod-sys/README.md | 2 +- bindings/rust/libgpiod-sys/build.rs | 2 +- bindings/rust/libgpiod-sys/src/Makefile.am | 2 +- bindings/rust/libgpiod-sys/src/lib.rs | 2 +- bindings/rust/libgpiod/Cargo.toml | 2 +- bindings/rust/libgpiod/Makefile.am | 2 +- bindings/rust/libgpiod/examples/Makefile.am | 2 +- bindings/rust/libgpiod/examples/gpio_events.rs | 2 +- bindings/rust/libgpiod/examples/gpio_threaded_info_events.rs | 2 +- bindings/rust/libgpiod/examples/gpiodetect.rs | 2 +- bindings/rust/libgpiod/examples/gpiofind.rs | 2 +- bindings/rust/libgpiod/examples/gpioget.rs | 2 +- bindings/rust/libgpiod/examples/gpioinfo.rs | 2 +- bindings/rust/libgpiod/examples/gpiomon.rs | 2 +- bindings/rust/libgpiod/examples/gpionotify.rs | 2 +- bindings/rust/libgpiod/examples/gpioset.rs | 2 +- bindings/rust/libgpiod/examples/gpiowatch.rs | 2 +- bindings/rust/libgpiod/src/Makefile.am | 2 +- bindings/rust/libgpiod/src/chip.rs | 2 +- bindings/rust/libgpiod/src/edge_event.rs | 2 +- bindings/rust/libgpiod/src/event_buffer.rs | 2 +- bindings/rust/libgpiod/src/info_event.rs | 2 +- bindings/rust/libgpiod/src/lib.rs | 2 +- bindings/rust/libgpiod/src/line_config.rs | 2 +- bindings/rust/libgpiod/src/line_info.rs | 2 +- bindings/rust/libgpiod/src/line_request.rs | 2 +- bindings/rust/libgpiod/src/line_settings.rs | 2 +- bindings/rust/libgpiod/src/request_config.rs | 2 +- bindings/rust/libgpiod/tests/Makefile.am | 2 +- bindings/rust/libgpiod/tests/chip.rs | 2 +- bindings/rust/libgpiod/tests/common/Makefile.am | 2 +- bindings/rust/libgpiod/tests/common/config.rs | 2 +- bindings/rust/libgpiod/tests/common/mod.rs | 2 +- bindings/rust/libgpiod/tests/edge_event.rs | 2 +- bindings/rust/libgpiod/tests/info_event.rs | 2 +- bindings/rust/libgpiod/tests/line_config.rs | 2 +- bindings/rust/libgpiod/tests/line_info.rs | 2 +- bindings/rust/libgpiod/tests/line_request.rs | 2 +- bindings/rust/libgpiod/tests/line_settings.rs | 2 +- bindings/rust/libgpiod/tests/request_config.rs | 2 +- 53 files changed, 53 insertions(+), 53 deletions(-) diff --git a/bindings/python/gpiod/version.py b/bindings/python/gpiod/version.py index 1ad903e09146..2e182a3dc765 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 6fe7bde6f8a7..a8bda09778f5 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 b4a28fd7129c..2e026b49103a 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 7903f828d87d..e89c39327c89 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 9aa047feba82..af307486badb 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 9471b0eb35c1..310722319835 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 686d522bf174..6cd24d9aaa52 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 0651c6115322..c31fccb09684 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 af104d05eae4..e88f477083a0 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 e3630442e24b..eed2a425afd6 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 777bf086061a..896596f07955 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 3bc3525aedca..938a0d5e9f22 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 9471b0eb35c1..310722319835 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 7e6e643ab2ab..3eb5c9defeac 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 e3ed04afa141..d4825a924f81 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 36361e7e0be5..0ef728b7ffac 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 68526910c8ee..06f1a50c2753 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 655e7a2ce107..48681defc316 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 38f2ebf37aff..e9a10c18b45f 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 2e1ccbd63f3f..c1d2c174370e 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 b26c60b064d9..a45b6dbba384 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 620f4ec57ca0..8853a7bc720e 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 96581bc604c6..97922524188f 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 99fba30c1a3c..da0530daf0fc 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 a71612bd1988..8e390f3928c5 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 02d8c9765ab3..1fe1ae01dd3b 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 8f2a71adaa14..c3564db2465a 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 54445d293eaf..fca108638c53 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 4b43010a3b80..607407d5a68f 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 a356fd589721..26a2ed88d6d8 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 df63c7275d9e..589260069464 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 f4554a116946..f4de008b5048 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 d8404952b0b0..d324ce675df8 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 0675ea6c5181..1deaf2bc3983 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 8bd558532095..b0ceb3b26f78 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 8073bd440bf4..26354e5b4eee 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 a2721a20e4fa..e973cde4a2fa 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 b45878c523c9..702f1b478dec 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 ebf41f240ae2..b175eea3217e 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 1c5ac66f9ce7..918d6c26f27e 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 2ad68efdd12a..0c6c5c1d8275 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 198f4e4dfe4c..8927649d07e0 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 702af93e5f2c..f2647084aaab 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 4cfc3555229b..6a32db427ecc 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 36ccc948860e..7bb1f659a928 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 5f725c61f905..586115b5accb 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 45c1cfc09022..03b7e7cb05f7 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 f06dd2d2dd67..c969af782383 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 b5a04ef8949a..7fccf8cc3daa 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 9e4928b49682..ce66a605b8f4 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 d60e15a7a106..d49874f77ac9 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 de2148ee6018..1aaa6b44ed63 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 d78c4bddc443..a925a6833105 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;