[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] device-tree: Add missing SPDX identifiers and EMACS comment blocks


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Tue, 6 May 2025 10:07:52 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8ILS/hC1n3y4E0velyOtlWSjEyWQphmIDe8wp9R6jOE=; b=kf0U6uHO2CyVstKelXW9V5/DThVrL+wwXC7EZAZndi/mi75XjJRp3zmYvJDFyPWBXn6BeXBV2D1gIavLUz3jAs33sjj/PNPVSucRMs8MnNKVTa3H1Ywh+e7JKjiHsKFjP/9xYjHMLkCsegPeGAOM+obijwYKDDq1RH24lTW8dOlkeZgBXgaX3EV7bdBvFFPBye5uqPdabFCpOZhcm72PTUNxdePpNN1Mul5cuNB28t7u24ed9tytWJ7Hrn+FtNI4voU6ioZRNNV7HMeC9zUX1wa4QZueOW0vWvAh5rHXM4yLEuaZfYL27wJ5SDw4422IzGTEek15xGWmMn0NWUJWYg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Q2M1IYxMoMwfeClqAboUuEFXf0mjFPU+nH6pkTz5Rd8OIggVQVXd6ycZCBAYCn3zG1V2ekcQqKPktV9dTtoa2wCmcN9ETie4M6cj/HuB41RxmMgrlBXRqGPEpRR1WveehPPHpNBfKtuUv2isFgRtmjdeqpGxxpF8NOQGXnEa58I9c9t1Lks1txwx+npwH0y9Mvy6oFjk8+7NU0u2OmLBSZ1QXMsIzkML/xn7R3NuIO/D69ZnXlWgG1dJndZKTf9yYa4pPYjdwxj+tPy1gF6bHypGF8jpMJ/FrkFXRaQoUWIFbSWX3X5GUrzpusUALzXedf7rPV3ArGvgVRJU28KLOg==
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>
  • Delivery-date: Tue, 06 May 2025 08:08:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Use the same license as the files from which the code originated during
recent code movements. Take the opportunity to add SPDX identifier for
device-tree.c and remove the license text.

Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
---
This is mostly fixing files added recently by Oleksii.
---
 xen/common/device-tree/device-tree.c  |  5 +----
 xen/common/device-tree/domain-build.c | 11 +++++++++++
 xen/common/device-tree/kernel.c       | 11 +++++++++++
 3 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/xen/common/device-tree/device-tree.c 
b/xen/common/device-tree/device-tree.c
index 90fee2ba0315..886e6c7712de 100644
--- a/xen/common/device-tree/device-tree.c
+++ b/xen/common/device-tree/device-tree.c
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Device Tree
  *
  * Copyright (C) 2012 Citrix Systems, Inc.
  * Copyright 2009 Benjamin Herrenschmidt, IBM Corp
  * benh@xxxxxxxxxxxxxxxxxxx
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <xen/types.h>
diff --git a/xen/common/device-tree/domain-build.c 
b/xen/common/device-tree/domain-build.c
index 762b63e2b00a..3d7fc7a19ef6 100644
--- a/xen/common/device-tree/domain-build.c
+++ b/xen/common/device-tree/domain-build.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <xen/bootfdt.h>
 #include <xen/fdt-domain-build.h>
 #include <xen/init.h>
@@ -393,3 +395,12 @@ void __init initrd_load(struct kernel_info *kinfo,
 
     iounmap(initrd);
 }
+
+/*
+ * Local variables:
+ * mode: C
+ * c-file-style: "BSD"
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ */
diff --git a/xen/common/device-tree/kernel.c b/xen/common/device-tree/kernel.c
index 1bf3bbf64eae..cb04cd9d5014 100644
--- a/xen/common/device-tree/kernel.c
+++ b/xen/common/device-tree/kernel.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <xen/bootfdt.h>
 #include <xen/device_tree.h>
 #include <xen/fdt-kernel.h>
@@ -240,3 +242,12 @@ void __init kernel_load(struct kernel_info *info)
 
     info->load(info);
 }
+
+/*
+ * Local variables:
+ * mode: C
+ * c-file-style: "BSD"
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ */
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.