All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Schmidt <stefan@datenfreihafen.org>
To: linux-wpan@vger.kernel.org
Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com,
	david.girault@qorvo.com,
	Stefan Schmidt <stefan@datenfreihafen.org>
Subject: [PATCH 6/9] examples: switch files to SPDX header for license and copyright
Date: Sun, 24 Sep 2023 14:22:28 +0200	[thread overview]
Message-ID: <20230924122231.716878-7-stefan@datenfreihafen.org> (raw)
In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org>

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
---
 examples/.gitignore         |  4 ++++
 examples/Makefile.am        |  4 ++++
 examples/README.examples    |  4 ++++
 examples/af_ieee802154_rx.c | 23 ++++-------------------
 examples/af_ieee802154_tx.c | 23 ++++-------------------
 examples/af_inet6_rx.c      | 23 ++++-------------------
 examples/af_inet6_tx.c      | 23 ++++-------------------
 examples/af_packet_rx.c     | 23 ++++-------------------
 examples/af_packet_tx.c     | 23 ++++-------------------
 9 files changed, 36 insertions(+), 114 deletions(-)

diff --git a/examples/.gitignore b/examples/.gitignore
index 845e803..3dad378 100644
--- a/examples/.gitignore
+++ b/examples/.gitignore
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+#
+# SPDX-License-Identifier: ISC
+
 /.deps
 /af_ieee802154_rx
 /af_ieee802154_tx
diff --git a/examples/Makefile.am b/examples/Makefile.am
index b475c1f..00bd991 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+#
+# SPDX-License-Identifier: ISC
+
 noinst_PROGRAMS = af_ieee802154_tx \
 	          af_ieee802154_rx \
 	          af_packet_tx \
diff --git a/examples/README.examples b/examples/README.examples
index 11e9424..bf69c90 100644
--- a/examples/README.examples
+++ b/examples/README.examples
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+//
+// SPDX-License-Identifier: ISC
+
 This folder contains various examples on how the Linux-wpan stack can be used
 from userspace, using the Linux socket interface.
 
diff --git a/examples/af_ieee802154_rx.c b/examples/af_ieee802154_rx.c
index 86ba707..4bfd7b6 100644
--- a/examples/af_ieee802154_rx.c
+++ b/examples/af_ieee802154_rx.c
@@ -1,23 +1,8 @@
-/*
- * IEEE 802.15.4 socket example
- *
- * Copyright (C) 2016 Samsung Electronics Co., Ltd.
- *
- * Author: Stefan Schmidt <stefan@osg.samsung.com>
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
+// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+//
+// SPDX-License-Identifier: ISC
 
+/* IEEE 802.15.4 socket example */
 /* gcc af_ieee802154_rx.c -o af_ieee802154_rx */
 
 #include <sys/types.h>
diff --git a/examples/af_ieee802154_tx.c b/examples/af_ieee802154_tx.c
index faad17e..7cbc8a1 100644
--- a/examples/af_ieee802154_tx.c
+++ b/examples/af_ieee802154_tx.c
@@ -1,23 +1,8 @@
-/*
- * IEEE 802.15.4 socket example
- *
- * Copyright (C) 2016 Samsung Electronics Co., Ltd.
- *
- * Author: Stefan Schmidt <stefan@osg.samsung.com>
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
+// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+//
+// SPDX-License-Identifier: ISC
 
+/* IEEE 802.15.4 socket example */
 /* gcc af_ieee802154_tx.c -o af_ieee802154_tx */
 
 #include <sys/types.h>
diff --git a/examples/af_inet6_rx.c b/examples/af_inet6_rx.c
index d512471..525e68d 100644
--- a/examples/af_inet6_rx.c
+++ b/examples/af_inet6_rx.c
@@ -1,23 +1,8 @@
-/*
- * IEEE 802.15.4 socket example
- *
- * Copyright (C) 2016 Samsung Electronics Co., Ltd.
- *
- * Author: Stefan Schmidt <stefan@osg.samsung.com>
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
+// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+//
+// SPDX-License-Identifier: ISC
 
+/* IEEE 802.15.4 socket example */
 /* gcc af_inet6_rx.c -o af_inet6_rx */
 
 #include <sys/types.h>
diff --git a/examples/af_inet6_tx.c b/examples/af_inet6_tx.c
index a62f730..ece640f 100644
--- a/examples/af_inet6_tx.c
+++ b/examples/af_inet6_tx.c
@@ -1,23 +1,8 @@
-/*
- * AF_INET6 over IEEE 802.15.4 socket example
- *
- * Copyright (C) 2016 Samsung Electronics Co., Ltd.
- *
- * Author: Stefan Schmidt <stefan@osg.samsung.com>
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
+// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+//
+// SPDX-License-Identifier: ISC
 
+/* IEEE 802.15.4 socket example */
 /* gcc af_inet6_tx.c -o af_inet6_tx */
 
 #include <sys/types.h>
diff --git a/examples/af_packet_rx.c b/examples/af_packet_rx.c
index 9770965..8757589 100644
--- a/examples/af_packet_rx.c
+++ b/examples/af_packet_rx.c
@@ -1,23 +1,8 @@
-/*
- * IEEE 802.15.4 socket example
- *
- * Copyright (C) 2016 Samsung Electronics Co., Ltd.
- *
- * Author: Stefan Schmidt <stefan@osg.samsung.com>
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
+// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+//
+// SPDX-License-Identifier: ISC
 
+/* IEEE 802.15.4 socket example */
 /* gcc af_packet_rx.c -o af_packet_rx */
 
 #include <sys/types.h>
diff --git a/examples/af_packet_tx.c b/examples/af_packet_tx.c
index 82a15f4..e247eaf 100644
--- a/examples/af_packet_tx.c
+++ b/examples/af_packet_tx.c
@@ -1,23 +1,8 @@
-/*
- * IEEE 802.15.4 socket example
- *
- * Copyright (C) 2016 Samsung Electronics Co., Ltd.
- *
- * Author: Stefan Schmidt <stefan@osg.samsung.com>
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
+// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd.
+//
+// SPDX-License-Identifier: ISC
 
+/* IEEE 802.15.4 socket example */
 /* gcc af_packet_tx.c -o af_packet_tx */
 
 #include <sys/types.h>
-- 
2.41.0


  parent reply	other threads:[~2023-09-24 12:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-24 12:22 [PATCH 0/9] wpan-tools: switch to SPDX header for license and copyright Stefan Schmidt
2023-09-24 12:22 ` [PATCH 1/9] m4: remove empty folder which only holds a .gitignore file Stefan Schmidt
2023-09-24 12:22 ` [PATCH 2/9] license: clearly indicate license in file name and use new LICENSES folder Stefan Schmidt
2023-09-24 12:22 ` [PATCH 3/9] wpan-ping: switch files to SPDX header for license and copyright Stefan Schmidt
2023-09-24 12:22 ` [PATCH 4/9] wpan-hwsim: " Stefan Schmidt
2023-09-24 12:22 ` [PATCH 5/9] src/nl802154.h: switch file " Stefan Schmidt
2023-10-01 23:33   ` Alexander Aring
2023-10-02 13:29     ` Stefan Schmidt
2023-09-24 12:22 ` Stefan Schmidt [this message]
2023-09-24 12:22 ` [PATCH 7/9] src: switch files " Stefan Schmidt
2023-09-24 12:22 ` [PATCH 8/9] misc: switch remaining " Stefan Schmidt
2023-09-24 12:22 ` [PATCH 9/9] workflow: add reuse job to check for REUSE compliance Stefan Schmidt
2023-09-25  7:22 ` [PATCH 0/9] wpan-tools: switch to SPDX header for license and copyright Miquel Raynal
2023-09-26  7:58   ` Stefan Schmidt
2023-10-01 23:37     ` Alexander Aring
2023-10-02 13:29       ` Stefan Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230924122231.716878-7-stefan@datenfreihafen.org \
    --to=stefan@datenfreihafen.org \
    --cc=alex.aring@gmail.com \
    --cc=david.girault@qorvo.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=miquel.raynal@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.