On Wed, 31 Oct 2012, victor wrote:

> Hi,
> 
> In file_storage.c, send_status(), if (transport_is_bbb()), I add the line
> bh->inreq->buf = bh -> buf,
> 
> and in get_next_command(), if (transport_is_bbb()), I add the line
> bh->outreq->context = bh, to make the bh address to be the same.
> 
> Is this patch ok?

What patch?  You didn't post a patch, just a description of some 
changes.

> victor
> 
> -----Original Message-----
> From: victor [mailto:vic...@keyasic.com] 
> Sent: Wednesday, 31 October, 2012 1:04 PM
> To: 'linux-usb@vger.kernel.org'
> Subject: Linux USB gadget mass storage
> 
> Hi,
> 
> I am using Linux USB gadget mass storage. I meet with problem in
> file_storage.c. The bh->outreq->context in get_next_command() is not equal
> to bh.

do_set_interface() sets bh->inreq->buf to bh->buf and 
bh->outreq->context to bh.  Does anything ever change these values?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to