device-tree: Add missing SPDX identifiers and EMACS comment blocks
PATCH 1/1 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 <[email protected]>
---
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(-)
xen/common/device-tree/device-tree.c +1 -4
@@ -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 * [email protected] -* -* 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>
xen/common/device-tree/domain-build.c +11 -0
@@ -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: +*/
xen/common/device-tree/kernel.c +11 -0
@@ -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: +*/
Signature · 1 line
2.25.1
Hi Michal,
Quoted 5 lines · Michal Orzel
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.cand remove the license text.Signed-off-by Michal Orzel <[email protected]>
Acked-by Julien Grall <[email protected]>
Cheers,
Signature · 1 line
Julien Grall