From: sashiko-bot@kernel.org
To: "Mayur Kumar" <kmayur809@gmail.com>
Cc: linux-watchdog@vger.kernel.org
Subject: Re: [PATCH] watchdog: sb_wdog: add missing SPDX license identifier
Date: Mon, 11 May 2026 21:44:21 +0000 [thread overview]
Message-ID: <20260511214422.1FDEFC2BCB0@smtp.kernel.org> (raw)
In-Reply-To: <20260510191847.50499-1-kmayur809@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The applied SPDX-License-Identifier (GPL-2.0-only) contradicts the explicit license boilerplate already present in the file.
--
commit 64e66089a6e522c77284fd01a8849e12869d23c7
Author: Mayur Kumar <kmayur809@gmail.com>
watchdog: sb_wdog: add missing SPDX license identifier
This patch resolves a checkpatch warning by adding an SPDX license
identifier to the driver source file. It defaults the license to
GPL-2.0-only.
> diff --git a/drivers/watchdog/sb_wdog.c b/drivers/watchdog/sb_wdog.c
> index eaa68b54cf567..03db71a43d6fe 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
> *
Does the GPL-2.0-only SPDX identifier contradict the explicit license
boilerplate already present in this file?
Looking at the existing header comment block:
drivers/watchdog/sb_wdog.c:
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 1 or 2 as published by the Free Software Foundation.
Applying GPL-2.0-only restricts the file to GPLv2 only, which strips the
explicitly granted GPLv1 permission and creates a licensing ambiguity for
downstream users.
Should the SPDX identifier be updated to match the existing boilerplate text?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260510191847.50499-1-kmayur809@gmail.com?part=1
next prev parent reply other threads:[~2026-05-11 21:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-10 19:18 [PATCH] watchdog: sb_wdog: add missing SPDX license identifier Mayur Kumar
2026-05-11 14:24 ` Guenter Roeck
2026-05-11 21:44 ` sashiko-bot [this message]
2026-05-11 22:07 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260511214422.1FDEFC2BCB0@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=kmayur809@gmail.com \
--cc=linux-watchdog@vger.kernel.org \
--cc=sashiko@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.