From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "Shuah Khan \(Samsung OSG\)" <shuah@kernel.org>
Cc: valentina.manea.m@gmail.com, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [REBASED,1/2] usbip: usbip_host: delete device from busid_table after rebind
Date: Mon, 30 Apr 2018 15:48:31 -0700 [thread overview]
Message-ID: <20180430224831.GA7190@kroah.com> (raw)
On Mon, Apr 30, 2018 at 04:17:19PM -0600, Shuah Khan (Samsung OSG) wrote:
> Device is left in the busid_table after unbind and rebind. Rebind
> initiates usb bus scan and the original driver claims the device.
> After rescan the device should be deleted from the busid_table as
> it no longer belongs to usbip_host.
>
> Fix it to delete the device after device_attach() succeeds.
>
> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
> ---
> drivers/usb/usbip/stub_main.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Why are these REBASED? I can't remember the first version of these
patches, what are these for?
confused,
greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <gregkh@linuxfoundation.org>
To: "Shuah Khan (Samsung OSG)" <shuah@kernel.org>
Cc: valentina.manea.m@gmail.com, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [REBASED PATCH 1/2] usbip: usbip_host: delete device from busid_table after rebind
Date: Mon, 30 Apr 2018 15:48:31 -0700 [thread overview]
Message-ID: <20180430224831.GA7190@kroah.com> (raw)
In-Reply-To: <9cfffc546fc9774a9e38e81b0f396866a9d8d11f.1525115738.git.shuah@kernel.org>
On Mon, Apr 30, 2018 at 04:17:19PM -0600, Shuah Khan (Samsung OSG) wrote:
> Device is left in the busid_table after unbind and rebind. Rebind
> initiates usb bus scan and the original driver claims the device.
> After rescan the device should be deleted from the busid_table as
> it no longer belongs to usbip_host.
>
> Fix it to delete the device after device_attach() succeeds.
>
> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
> ---
> drivers/usb/usbip/stub_main.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Why are these REBASED? I can't remember the first version of these
patches, what are these for?
confused,
greg k-h
next reply other threads:[~2018-04-30 22:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-30 22:48 Greg Kroah-Hartman [this message]
2018-04-30 22:48 ` [REBASED PATCH 1/2] usbip: usbip_host: delete device from busid_table after rebind Greg KH
-- strict thread matches above, loose matches on Subject: below --
2018-04-30 23:12 [REBASED,1/2] " Shuah Khan
2018-04-30 23:12 ` [REBASED PATCH 1/2] " Shuah Khan
2018-04-30 22:17 [REBASED,2/2] usbip: usbip_host: run rebind from exit when module is removed Shuah Khan
2018-04-30 22:17 ` [REBASED PATCH 2/2] " Shuah Khan (Samsung OSG)
2018-04-30 22:17 [REBASED,1/2] usbip: usbip_host: delete device from busid_table after rebind Shuah Khan
2018-04-30 22:17 ` [REBASED PATCH 1/2] " Shuah Khan (Samsung OSG)
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=20180430224831.GA7190@kroah.com \
--to=gregkh@linuxfoundation.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 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.