2023-10-11 23:38:17

by Min-Hua Chen

[permalink] [raw]
Subject: [PATCH] docs: sparse: add SPDX-License-Identifier

Add SPDX-License-Identifier to fix the checkpatch warning:

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
\#26: FILE: Documentation/translations/zh_TW/dev-tools/index.rst:1:
+.. include:: ../disclaimer-zh_TW.rst

Signed-off-by: Min-Hua Chen <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
---
Documentation/translations/zh_TW/dev-tools/index.rst | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/translations/zh_TW/dev-tools/index.rst b/Documentation/translations/zh_TW/dev-tools/index.rst
index 8f101db5a07f..e2e18a72ef94 100644
--- a/Documentation/translations/zh_TW/dev-tools/index.rst
+++ b/Documentation/translations/zh_TW/dev-tools/index.rst
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: GPL-2.0
+
.. include:: ../disclaimer-zh_TW.rst

:Original: Documentation/dev-tools/index.rst
--
2.34.1


2023-10-23 02:27:27

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: sparse: add SPDX-License-Identifier

Min-Hua Chen <[email protected]> writes:

> Add SPDX-License-Identifier to fix the checkpatch warning:
>
> WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
> \#26: FILE: Documentation/translations/zh_TW/dev-tools/index.rst:1:
> +.. include:: ../disclaimer-zh_TW.rst
>
> Signed-off-by: Min-Hua Chen <[email protected]>
> Reported-by: kernel test robot <[email protected]>
> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> ---
> Documentation/translations/zh_TW/dev-tools/index.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/translations/zh_TW/dev-tools/index.rst b/Documentation/translations/zh_TW/dev-tools/index.rst
> index 8f101db5a07f..e2e18a72ef94 100644
> --- a/Documentation/translations/zh_TW/dev-tools/index.rst
> +++ b/Documentation/translations/zh_TW/dev-tools/index.rst
> @@ -1,3 +1,5 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +
> .. include:: ../disclaimer-zh_TW.rst

Applied, thanks.

jon