Cc: Martin Wilck <[email protected]>
Cc: Benjamin Marzinski <[email protected]>
Cc: Christophe Varoqui <[email protected]>
Cc: DM_DEVEL-ML <[email protected]>
Signed-off-by: Xose Vazquez Perez <[email protected]>
---
 libmpathcmd/libmpathcmd.version         | 2 +-
 libmpathpersist/libmpathpersist.version | 2 +-
 libmpathutil/libmpathutil.version       | 2 +-
 libmpathutil/strbuf.c                   | 2 +-
 libmpathutil/strbuf.h                   | 2 +-
 libmultipath/libmultipath.version       | 2 +-
 multipathd/multipathc.c                 | 2 +-
 tests/cli.c                             | 3 +--
 tests/devt.c                            | 3 +--
 tests/mapinfo.c                         | 2 +-
 tests/mpathvalid.c                      | 3 +--
 tests/strbuf.c                          | 2 +-
 tests/sysfs.c                           | 2 +-
 tests/vpd.c                             | 2 +-
 14 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/libmpathcmd/libmpathcmd.version b/libmpathcmd/libmpathcmd.version
index 81bdb2b7..e672755a 100644
--- a/libmpathcmd/libmpathcmd.version
+++ b/libmpathcmd/libmpathcmd.version
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 SUSE LLC
- * SPDX-License-Identifier: GPL-2.0-or-later
  *
  * libmpathcmd ABI
  *
diff --git a/libmpathpersist/libmpathpersist.version 
b/libmpathpersist/libmpathpersist.version
index e486c5cd..28350417 100644
--- a/libmpathpersist/libmpathpersist.version
+++ b/libmpathpersist/libmpathpersist.version
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 SUSE LLC
- * SPDX-License-Identifier: GPL-2.0-or-later
  *
  * libmpathpersist ABI
  *
diff --git a/libmpathutil/libmpathutil.version 
b/libmpathutil/libmpathutil.version
index e0e9ffd7..fe88ca31 100644
--- a/libmpathutil/libmpathutil.version
+++ b/libmpathutil/libmpathutil.version
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 SUSE LLC
- * SPDX-License-Identifier: GPL-2.0-or-later
  *
  * libmultipath ABI (libmpathutil part)
  *
diff --git a/libmpathutil/strbuf.c b/libmpathutil/strbuf.c
index 491a343a..3ff1413b 100644
--- a/libmpathutil/strbuf.c
+++ b/libmpathutil/strbuf.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2021 SUSE LLC
- * SPDX-License-Identifier: GPL-2.0-or-later
  */
 #include <inttypes.h>
 #include <stdint.h>
diff --git a/libmpathutil/strbuf.h b/libmpathutil/strbuf.h
index 790dc233..44818431 100644
--- a/libmpathutil/strbuf.h
+++ b/libmpathutil/strbuf.h
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2021 SUSE LLC
- * SPDX-License-Identifier: GPL-2.0-or-later
  */
 #ifndef STRBUF_H_INCLUDED
 #define STRBUF_H_INCLUDED
diff --git a/libmultipath/libmultipath.version 
b/libmultipath/libmultipath.version
index 3eee67a8..158e7c50 100644
--- a/libmultipath/libmultipath.version
+++ b/libmultipath/libmultipath.version
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 SUSE LLC
- * SPDX-License-Identifier: GPL-2.0-or-later
  *
  * libmultipath ABI
  *
diff --git a/multipathd/multipathc.c b/multipathd/multipathc.c
index 38f2d6a3..cb3d6f87 100644
--- a/multipathd/multipathc.c
+++ b/multipathd/multipathc.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
 /*
  * Copyright (c) 2022 SUSE LLC
- * SPDX-License-Identifier: GPL-3.0-or-later
  */
 #include <string.h>
 #include <stdio.h>
diff --git a/tests/cli.c b/tests/cli.c
index f008d26b..fbcca095 100644
--- a/tests/cli.c
+++ b/tests/cli.c
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 Martin Wilck, SUSE
- *
- * SPDX-License-Identifier: GPL-2.0-or-later
  */
 #include <stdbool.h>
 #include <stdarg.h>
diff --git a/tests/devt.c b/tests/devt.c
index 3b322df9..711947cb 100644
--- a/tests/devt.c
+++ b/tests/devt.c
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 Martin Wilck, SUSE
- *
- * SPDX-License-Identifier: GPL-2.0-or-later
  */
 #include <stdbool.h>
 #include <stdarg.h>
diff --git a/tests/mapinfo.c b/tests/mapinfo.c
index d8461b48..12540f9f 100644
--- a/tests/mapinfo.c
+++ b/tests/mapinfo.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2024 Martin Wilck, SUSE
- * SPDX-License-Identifier: GPL-2.0-or-later
  */
 
 /*
diff --git a/tests/mpathvalid.c b/tests/mpathvalid.c
index 1b060fe4..0a70c614 100644
--- a/tests/mpathvalid.c
+++ b/tests/mpathvalid.c
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 Benjamin Marzinski, Red Hat
- *
- * SPDX-License-Identifier: GPL-2.0-or-later
  */
 #include <stdbool.h>
 #include <stdarg.h>
diff --git a/tests/strbuf.c b/tests/strbuf.c
index 06fa71c4..8d0beb80 100644
--- a/tests/strbuf.c
+++ b/tests/strbuf.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2021 SUSE LLC
- * SPDX-License-Identifier: GPL-2.0-only
  */
 
 #define _GNU_SOURCE
diff --git a/tests/sysfs.c b/tests/sysfs.c
index 5f029427..a3c0a7f7 100644
--- a/tests/sysfs.c
+++ b/tests/sysfs.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2021 SUSE LLC
- * SPDX-License-Identifier: GPL-2.0-only
  */
 
 #define _GNU_SOURCE
diff --git a/tests/vpd.c b/tests/vpd.c
index 043b6aa7..c0da3769 100644
--- a/tests/vpd.c
+++ b/tests/vpd.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Copyright (c) 2019 Martin Wilck, SUSE Linux GmbH, Nuremberg */
 
 #define _GNU_SOURCE
-- 
2.52.0


Reply via email to