[PATCH] watchdog: sb_wdog: add missing SPDX license identifier

Mayur Kumar posted 1 patch 1 month ago
drivers/watchdog/sb_wdog.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] watchdog: sb_wdog: add missing SPDX license identifier
Posted by Mayur Kumar 1 month ago
checkpatch.pl reports the following warning:

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1

Per Documentation/process/license-rules.rst, add the appropriate SPDX
license identifier to the first line of the C source file using the
'//' style comment. Default to GPL-2.0-only.

Signed-off-by: Mayur Kumar <kmayur809@gmail.com>
---
 drivers/watchdog/sb_wdog.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/sb_wdog.c b/drivers/watchdog/sb_wdog.c
index eaa68b54cf5..03db71a43d6 100644
--- a/drivers/watchdog/sb_wdog.c
+++ b/drivers/watchdog/sb_wdog.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Watchdog driver for SiByte SB1 SoCs
  *
-- 
2.34.1
Re: [PATCH] watchdog: sb_wdog: add missing SPDX license identifier
Posted by Guenter Roeck 1 month ago
On Mon, May 11, 2026 at 12:48:47AM +0530, Mayur Kumar wrote:
> checkpatch.pl reports the following warning:
> 
> WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> 
> Per Documentation/process/license-rules.rst, add the appropriate SPDX
> license identifier to the first line of the C source file using the
> '//' style comment. Default to GPL-2.0-only.
> 
> Signed-off-by: Mayur Kumar <kmayur809@gmail.com>

Applied.

Guenter