From: Shuah Khan <skhan@linuxfoundation.org>
To: Johan Hovold <johan@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Bastien Nocera <hadess@hadess.net>,
Valentina Manea <valentina.manea.m@gmail.com>,
Shuah Khan <shuah@kernel.org>, Hongren Zheng <i@zenithal.me>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH 2/2] USB: usbip: drop redundant device reference
Date: Mon, 9 Mar 2026 14:26:03 -0600 [thread overview]
Message-ID: <9d727cd2-701e-4c5b-9646-82874f2d0a4a@linuxfoundation.org> (raw)
In-Reply-To: <20260305133851.2952-3-johan@kernel.org>
On 3/5/26 06:38, Johan Hovold wrote:
> Driver core holds a reference to the USB device while it is bound to a
> driver and there is no need to take additional references unless the
> structure is needed after disconnect.
>
In this case it is necessary for stub driver to hang on to the reference
to maintain exported device status.
thanks,
-- Shuah
next prev parent reply other threads:[~2026-03-09 20:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 13:38 [PATCH 0/2] USB: drop further redundant device references Johan Hovold
2026-03-05 13:38 ` [PATCH 1/2] USB: apple-mfi-fastcharge: drop redundant device reference Johan Hovold
2026-03-10 14:38 ` Bastien Nocera
2026-03-05 13:38 ` [PATCH 2/2] USB: usbip: " Johan Hovold
2026-03-09 20:26 ` Shuah Khan [this message]
2026-03-10 8:35 ` Johan Hovold
2026-03-10 21:51 ` Shuah Khan
2026-03-11 8:02 ` Johan Hovold
2026-03-23 19:29 ` Shuah Khan
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=9d727cd2-701e-4c5b-9646-82874f2d0a4a@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=gregkh@linuxfoundation.org \
--cc=hadess@hadess.net \
--cc=i@zenithal.me \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=valentina.manea.m@gmail.com \
/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
Powered by JetHome