Linux USB
 help / color / mirror / Atom feed
From: "Chunfeng Yun (云春峰)" <Chunfeng.Yun@mediatek.com>
To: "westeri@kernel.org" <westeri@kernel.org>
Cc: "sashiko-reviews@lists.linux.dev"
	<sashiko-reviews@lists.linux.dev>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: [PATCH v3 5/8] thunderbolt: Add platform NHI driver
Date: Wed, 25 Nov 2026 06:44:33 +0000	[thread overview]
Message-ID: <b6371710f899dad71c85a0163cf0208473aa501e.camel@mediatek.com> (raw)
In-Reply-To: <20261124071537.GB953598@thinkpad>

On 二, 2026-11-24 at 09:15 +0200, Mika Westerberg wrote:
> Hi,
> 
> On Tue, Nov 24, 2026 at 06:37:40AM +0000, Chunfeng Yun (云春峰) wrote:
> > On 一, 2026-11-23 at 11:54 +0000, sashiko-bot@kernel.org wrote:
> > > Thank you for your contribution! Sashiko AI review found 1
> > > potential
> > > issue to consider:
> > > - [Low] thunderbolt: invalid SPDX license identifier GPL in
> > > platform.c
> > > --
> > > 
> > > commit 69e07d737f3ccaa08c0332e46cb3614ab51f29be
> > > Author: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > > 
> > > thunderbolt: Add platform NHI driver
> > > 
> > > This commit adds a platform driver for Thunderbolt/USB4 Native
> > > Host
> > > Interface controllers enumerated via ACPI (ACPI0015), along with
> > > support
> > > for an optional dedicated wakeup interrupt.
> > > 
> > > > diff --git a/drivers/thunderbolt/platform.c
> > > > b/drivers/thunderbolt/platform.c
> > > > new file mode 100644
> > > > index 0000000000000..05dd858ac8342
> > > > --- /dev/null
> > > > +++ b/drivers/thunderbolt/platform.c
> > > > @@ -0,0 +1,170 @@
> > > > +// SPDX-License-Identifier: GPL
> > > 
> > > [Severity: Low]
> > > Should this SPDX-License-Identifier be GPL-2.0-only (or GPL-2.0)
> > > instead
> > > of GPL?  Bare "GPL" is a MODULE_LICENSE() string rather than a
> > > valid
> > > SPDX
> > > license identifier in LICENSES/preferred/GPL-2.0, so
> > > scripts/spdxcheck.py
> > > and scripts/checkpatch.pl will reject it.
> > > 
> > Hi Mika, 
> > 
> > do you prefer to use which one? the checkpatch.pl prefer GPL
> > according
> > to the patch:
> > bf7fbeeae6db module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2"
> > bogosity
> 
> I prefer what we have now:
> 
> // SPDX-License-Identifier: GPL-2.0
> 
Got it.

Thanks


  reply	other threads:[~2026-11-25  6:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 11:36 [PATCH 0/8] thunderbolt: Add support platform NHI driver Chunfeng Yun
2026-11-23 11:36 ` [PATCH v3 1/8] thunderbolt: Prefix NHI core functions with tb_ and tb_ring_ Chunfeng Yun
2026-11-23 11:54   ` sashiko-bot
2026-11-24 16:11   ` Mika Westerberg
2026-11-25  6:43     ` Chunfeng Yun (云春峰)
2026-11-25  7:13       ` mika.westerberg
2026-11-23 11:36 ` [PATCH v3 2/8] thunderbolt: Move ICM mailbox functions to icm.c and internalize interrupt work Chunfeng Yun
2026-11-23 11:36 ` [PATCH v3 3/8] thunderbolt: Make PCIe NHI support opt-in Chunfeng Yun
2026-11-24 16:06   ` Mika Westerberg
2026-11-25  6:53     ` Chunfeng Yun (云春峰)
2026-11-23 11:36 ` [PATCH v3 4/8] thunderbolt: Fix error handling and unwind paths in tb_nhi_probe() Chunfeng Yun
2026-11-23 11:36 ` [PATCH v3 5/8] thunderbolt: Add platform NHI driver Chunfeng Yun
2026-11-23 11:54   ` sashiko-bot
2026-11-24  6:37     ` Chunfeng Yun (云春峰)
2026-11-24  7:15       ` Mika Westerberg
2026-11-25  6:44         ` Chunfeng Yun (云春峰) [this message]
2026-11-24 15:55   ` Mika Westerberg
2026-11-23 11:36 ` [PATCH v3 6/8] thunderbolt: Increase the lane adapter link-up timeout value Chunfeng Yun
2026-11-23 11:36 ` [PATCH v3 7/8] thunderbolt: Decouple the waiting time of TB_PORT_UNPLUGGED and TB_PORT_UP Chunfeng Yun
2026-11-24 16:00   ` Mika Westerberg
2026-11-23 11:36 ` [PATCH v3 8/8] thunderbolt: Drop WARN_ON() in tb_disconnect_pci() Chunfeng Yun
2026-11-23 11:42   ` sashiko-bot
2026-11-24  6:32     ` Chunfeng Yun (云春峰)

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=b6371710f899dad71c85a0163cf0208473aa501e.camel@mediatek.com \
    --to=chunfeng.yun@mediatek.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=westeri@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox