RE: Linux USB gadget mass storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:victor@xxxxxxxxxxx] 
> Sent: Wednesday, 31 October, 2012 1:04 PM
> To: 'linux-usb@xxxxxxxxxxxxxxx'
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux