mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
To: Manish Narani <manish.narani@xilinx.com>
Cc: balbi@kernel.org, gregkh@linuxfoundation.org, xypron.glpk@gmx.de,
	mnarani@xilinx.com, bart.vanassche@sandisk.com,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	anirudh@xilinx.com, svemula@xilinx.com,
	target-devel <target-devel@vger.kernel.org>
Subject: Re: [PATCH] usb: gadget: Correct usb EP argument for BOT status request
Date: Tue, 21 Mar 2017 00:11:32 -0700	[thread overview]
Message-ID: <1490080292.8236.99.camel@haakon3.risingtidesystems.com> (raw)
In-Reply-To: <1490002529-24340-1-git-send-email-mnarani@xilinx.com>

Hi Manish,

(Added target-devel CC')

On Mon, 2017-03-20 at 15:05 +0530, Manish Narani wrote:
> This patch corrects the argument in usb_ep_free_request as it is
> mistakenly set to ep_out. It should be ep_in for status request.
> 
> Signed-off-by: Manish Narani <mnarani@xilinx.com>
> ---
>  drivers/usb/gadget/function/f_tcm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/gadget/function/f_tcm.c b/drivers/usb/gadget/function/f_tcm.c
> index d235113..a82e2bd 100644
> --- a/drivers/usb/gadget/function/f_tcm.c
> +++ b/drivers/usb/gadget/function/f_tcm.c
> @@ -373,7 +373,7 @@ static void bot_cleanup_old_alt(struct f_uas *fu)
>  	usb_ep_free_request(fu->ep_in, fu->bot_req_in);
>  	usb_ep_free_request(fu->ep_out, fu->bot_req_out);
>  	usb_ep_free_request(fu->ep_out, fu->cmd.req);
> -	usb_ep_free_request(fu->ep_out, fu->bot_status.req);
> +	usb_ep_free_request(fu->ep_in, fu->bot_status.req);
>  
>  	kfree(fu->cmd.buf);
>  

Applied to target-pending/master.

Thanks!

  reply	other threads:[~2017-03-21  7:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20  9:35 Manish Narani
2017-03-21  7:11 ` Nicholas A. Bellinger [this message]
2017-03-22  9:23   ` Felipe Balbi

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=1490080292.8236.99.camel@haakon3.risingtidesystems.com \
    --to=nab@linux-iscsi.org \
    --cc=anirudh@xilinx.com \
    --cc=balbi@kernel.org \
    --cc=bart.vanassche@sandisk.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=manish.narani@xilinx.com \
    --cc=mnarani@xilinx.com \
    --cc=svemula@xilinx.com \
    --cc=target-devel@vger.kernel.org \
    --cc=xypron.glpk@gmx.de \
    /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®