From: Atharva Tiwari <atharvatiwarilinuxdev@gmail.com>
To: gregkh@linuxfoundation.org
Cc: atharvatiwarilinuxdev@gmail.com, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org
Subject: Re: [PATCH] usb: acpi: Get correct location data for Apple macs
Date: Mon, 23 Nov 2026 00:57:57 -0500 [thread overview]
Message-ID: <20261123055757.11283-1-atharvatiwarilinuxdev@gmail.com> (raw)
In-Reply-To: <2026112338-pummel-hyperlink-2957@gregkh>
> Local static variables are usually not a good idea. Why is this needed
> as it's only referenced once?
is_apple_location signifies that SSD methods are available in the ACPI bus,
if we dont check this there might be a situation like:
Is internal USB Controller = true
x86_apple_machine = true
is_apple_machine (Are there any SSD methods in the hub) = false
So all USB2.0 ports will get a error, and all USB3.0 ports will succeed and
provide wrong info.
And btw the SSD methods are only used in new intel macs (2016+), so this becomes necessary.
Thanks,
Atharva.
next prev parent reply other threads:[~2026-11-23 5:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 5:39 Atharva Tiwari
2026-11-23 5:44 ` Greg Kroah-Hartman
2026-11-23 5:57 ` Atharva Tiwari [this message]
2026-11-23 6:01 ` Greg KH
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=20261123055757.11283-1-atharvatiwarilinuxdev@gmail.com \
--to=atharvatiwarilinuxdev@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.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
all inboxes | Powered by JetHome®