From: Stefano Stabellini Date: Thu, 13 Oct 2022 00:56:47 +0000 (-0700) Subject: Add SPDX to CODING_STYLE X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=17dfc79ce9fd6cf508ee84a7d0d972d6abe268c2;p=people%2Fdwmw2%2Fxen.git Add SPDX to CODING_STYLE Signed-off-by: Stefano Stabellini Reviewed-by: Julien Grall Release-acked-by: Henry Wang --- diff --git a/CODING_STYLE b/CODING_STYLE index 3386ee1d90..5faf274b3a 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -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 -------