From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Krishna Kurapati <quic_kriskura@quicinc.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Francesco Dolcini <francesco.dolcini@toradex.com>,
Badhri Jagan Sridharan <badhri@google.com>,
Michael Grzeschik <m.grzeschik@pengutronix.de>,
Ivan Orlov <ivan.orlov0322@gmail.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
quic_ppratap@quicinc.com, quic_wcheng@quicinc.com,
quic_jackp@quicinc.com
Subject: Re: [PATCH v5] usb: gadget: udc: Handle gadget_connect failure during bind operation
Date: Wed, 27 Sep 2023 10:16:31 +0200 [thread overview]
Message-ID: <2023092701-facelift-projector-d1d4@gregkh> (raw)
In-Reply-To: <20230927073027.27952-1-quic_kriskura@quicinc.com>
On Wed, Sep 27, 2023 at 01:00:27PM +0530, Krishna Kurapati wrote:
> In the event gadget_connect call (which invokes pullup) fails,
> propagate the error to udc bind operation which in turn sends the
> error to configfs. The userspace can then retry enumeration if
> it chooses to.
Will this break userspace that is not expecting error codes to be
returned? What userspace code will now be modified to handle this?
Where is that work happening?
thanks,
greg k-h
next prev parent reply other threads:[~2023-09-27 8:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 7:30 [PATCH v5] usb: gadget: udc: Handle gadget_connect failure during bind operation Krishna Kurapati
2023-09-27 8:16 ` Greg Kroah-Hartman [this message]
2023-09-27 8:47 ` Krishna Kurapati PSSNV
2023-09-27 13:38 ` Alan Stern
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=2023092701-facelift-projector-d1d4@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=badhri@google.com \
--cc=francesco.dolcini@toradex.com \
--cc=ivan.orlov0322@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=m.grzeschik@pengutronix.de \
--cc=quic_jackp@quicinc.com \
--cc=quic_kriskura@quicinc.com \
--cc=quic_ppratap@quicinc.com \
--cc=quic_wcheng@quicinc.com \
--cc=stern@rowland.harvard.edu \
/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