]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
Add SPDX to CODING_STYLE
authorStefano Stabellini <stefano.stabellini@amd.com>
Thu, 13 Oct 2022 00:56:47 +0000 (17:56 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 11 Nov 2022 20:19:18 +0000 (12:19 -0800)
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
CODING_STYLE

index 3386ee1d902cbcc29b82f2d72400238f254c9139..5faf274b3a0f2a40783b4d6bbdde0a6f8ae13981 100644 (file)
@@ -14,6 +14,16 @@ explicitly (e.g. tools/libxl/CODING_STYLE) but often implicitly (Linux
 coding style is fairly common). In general you should copy the style
 of the surrounding code. If you are unsure please ask.
 
+SPDX
+----
+
+New files should start with a single-line SPDX comment to express the
+license, e.g.:
+
+/* SPDX-License-Identifier: GPL-2.0 */
+
+See LICENSES/ for a list of licenses and SPDX tags currently used.
+
 MISRA C
 -------