From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Shuah Khan <shuahkh@osg.samsung.com>
Cc: valentina.manea.m@gmail.com, shuah@kernel.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [2/3] usbip: usbip_host: delete device from busid_table after rebind
Date: Sun, 22 Apr 2018 15:57:11 +0200 [thread overview]
Message-ID: <20180422135711.GA4233@kroah.com> (raw)
On Wed, Apr 11, 2018 at 06:13:31PM -0600, Shuah Khan 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 <shuahkh@osg.samsung.com>
> ---
> drivers/usb/usbip/stub_main.c | 6 ++++++
> 1 file changed, 6 insertions(+)
This patch doesn't apply to my tree, nor does patch 3/3. Can you rebase
and resend?
thanks,
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 <shuahkh@osg.samsung.com>
Cc: valentina.manea.m@gmail.com, shuah@kernel.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] usbip: usbip_host: delete device from busid_table after rebind
Date: Sun, 22 Apr 2018 15:57:11 +0200 [thread overview]
Message-ID: <20180422135711.GA4233@kroah.com> (raw)
In-Reply-To: <e245729770ca221377aabb7db4daba4c41dabdb9.1523488629.git.shuahkh@osg.samsung.com>
On Wed, Apr 11, 2018 at 06:13:31PM -0600, Shuah Khan 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 <shuahkh@osg.samsung.com>
> ---
> drivers/usb/usbip/stub_main.c | 6 ++++++
> 1 file changed, 6 insertions(+)
This patch doesn't apply to my tree, nor does patch 3/3. Can you rebase
and resend?
thanks,
greg k-h
next reply other threads:[~2018-04-22 13:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-22 13:57 Greg Kroah-Hartman [this message]
2018-04-22 13:57 ` [PATCH 2/3] usbip: usbip_host: delete device from busid_table after rebind Greg KH
-- strict thread matches above, loose matches on Subject: below --
2018-04-12 0:13 [3/3] usbip: usbip_host: run rebind from exit when module is removed Shuah Khan
2018-04-12 0:13 ` [PATCH 3/3] " Shuah Khan
2018-04-12 0:13 [2/3] usbip: usbip_host: delete device from busid_table after rebind Shuah Khan
2018-04-12 0:13 ` [PATCH 2/3] " Shuah Khan
2018-04-12 0:13 [1/3] usbip: usbip_host: refine probe and disconnect debug msgs to be useful Shuah Khan
2018-04-12 0:13 ` [PATCH 1/3] " 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=20180422135711.GA4233@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=shuahkh@osg.samsung.com \
--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.