[PATCH] docs: sparse: add SPDX-License-Identifier

Min-Hua Chen posted 1 patch 2 years, 2 months ago
Documentation/translations/zh_TW/dev-tools/index.rst | 2 ++
1 file changed, 2 insertions(+)
[PATCH] docs: sparse: add SPDX-License-Identifier
Posted by Min-Hua Chen 2 years, 2 months ago
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 <minhuadotchen@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310110859.tumJoXFl-lkp@intel.com/
---
 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
Re: [PATCH] docs: sparse: add SPDX-License-Identifier
Posted by Jonathan Corbet 2 years, 2 months ago
Min-Hua Chen <minhuadotchen@gmail.com> 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 <minhuadotchen@gmail.com>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202310110859.tumJoXFl-lkp@intel.com/
> ---
>  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