From: Greg KH <greg@kroah.com>
To: Eric Biggers <ebiggers@kernel.org>
Cc: Andreas Noever <andreas.noever@gmail.com>,
Michael Jamet <michael.jamet@intel.com>,
Mika Westerberg <westeri@kernel.org>,
Yehezkel Bernat <YehezkelShB@gmail.com>,
linux-usb@vger.kernel.org
Subject: Re: [PATCH] thunderbolt: Fix copy+paste error in match_service_id()
Date: Mon, 21 Jul 2025 16:33:59 +0200 [thread overview]
Message-ID: <2025072152-childlike-valuables-c2b7@gregkh> (raw)
In-Reply-To: <20250721050136.30004-1-ebiggers@kernel.org>
On Sun, Jul 20, 2025 at 10:01:36PM -0700, Eric Biggers wrote:
> The second instance of TBSVC_MATCH_PROTOCOL_VERSION seems to have been
> intended to be TBSVC_MATCH_PROTOCOL_REVISION.
>
> Fixes: d1ff70241a27 ("thunderbolt: Add support for XDomain discovery protocol")
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
> drivers/thunderbolt/domain.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thunderbolt/domain.c b/drivers/thunderbolt/domain.c
> index a3a7c8059eeeb..45239703745e5 100644
> --- a/drivers/thunderbolt/domain.c
> +++ b/drivers/thunderbolt/domain.c
> @@ -34,11 +34,11 @@ static bool match_service_id(const struct tb_service_id *id,
> if (id->match_flags & TBSVC_MATCH_PROTOCOL_VERSION) {
> if (id->protocol_version != svc->prtcvers)
> return false;
> }
>
> - if (id->match_flags & TBSVC_MATCH_PROTOCOL_VERSION) {
> + if (id->match_flags & TBSVC_MATCH_PROTOCOL_REVISION) {
> if (id->protocol_revision != svc->prtcrevs)
> return false;
> }
>
> return true;
>
> base-commit: 89be9a83ccf1f88522317ce02f854f30d6115c41
> --
> 2.50.1
>
>
Thanks, I'll just queue this up now.
greg k-h
prev parent reply other threads:[~2025-07-21 14:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-21 5:01 [PATCH] thunderbolt: Fix copy+paste error in match_service_id() Eric Biggers
2025-07-21 14:33 ` Greg KH [this message]
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=2025072152-childlike-valuables-c2b7@gregkh \
--to=greg@kroah.com \
--cc=YehezkelShB@gmail.com \
--cc=andreas.noever@gmail.com \
--cc=ebiggers@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=michael.jamet@intel.com \
--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