[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] device-tree: Add missing SPDX identifiers and EMACS comment blocks
commit 07e6f576336e857a4d783314b967bc0d517a2065 Author: Michal Orzel <michal.orzel@xxxxxxx> AuthorDate: Tue May 6 10:07:52 2025 +0200 Commit: Michal Orzel <michal.orzel@xxxxxxx> CommitDate: Fri May 9 08:25:58 2025 +0200 device-tree: Add missing SPDX identifiers and EMACS comment blocks 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> Acked-by: Julien Grall <jgrall@xxxxxxxxxx> --- 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 90fee2ba03..886e6c7712 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 9556af43e0..6b8b8d7cac 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 1bf3bbf64e..cb04cd9d50 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: + */ -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |