[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] 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> --- 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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |