[PATCH blktests] block/042,043, src/dio-offsets.c: relicense from GPL-2.0 to GPL-3.0+

Shin'ichiro Kawasaki <[email protected]>
Newsgroups org.kernel.vger.linux-block
Message-ID <[email protected]>
Most blktests code, including check and common/rc, is licensed under
GPL-3.0+. However, tests/block/042, 043 and src/dio-offsets.c are
licensed under GPL-2.0 only. These test scripts source GPL-3.0+ shell
code, but GPL-2.0-only code is incompatible with GPL-3.0 code [1]. The C
source file provides the helper executable used by block/042.

Relicense all three files under GPL-3.0 or later to resolve this
incompatibility.

The files were authored by Keith Busch <[email protected]> and
subsequently modified by three contributors:

 John Pittman <[email protected]>
 Bart Van Assche <[email protected]>
 Shin'ichiro Kawasaki <[email protected]>

Keith and all of the listed contributors agreed to the relicensing [2].

[1] https://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility
[2] https://lore.kernel.org/linux-block/ak0vnlWkLq_RVnR_@kbusch-mbp/

Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
---
 src/dio-offsets.c | 2 +-
 tests/block/042   | 2 +-
 tests/block/043   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/dio-offsets.c b/src/dio-offsets.c
index 7ea4097..594665e 100644
--- a/src/dio-offsets.c
+++ b/src/dio-offsets.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-3.0+
 /*
  * Copyright (c) 2025 Meta Platforms, Inc.  All Rights Reserved.
  *
diff --git a/tests/block/042 b/tests/block/042
index c2f1b71..a28f676 100644
--- a/tests/block/042
+++ b/tests/block/042
@@ -1,5 +1,5 @@
 #!/bin/bash
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-3.0+
 # Copyright 2025 Keith Busch <[email protected]>
 #
 # Tests various direct IO memory and length alignments against the device's
diff --git a/tests/block/043 b/tests/block/043
index c7b7a90..4dc7e5f 100755
--- a/tests/block/043
+++ b/tests/block/043
@@ -1,5 +1,5 @@
 #!/bin/bash
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-3.0+
 # Copyright 2025 Keith Busch <[email protected]>
 #
 # Tests various user space metadata offsets with io_uring capabilities. If the
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.