From: Randy Dunlap <randy.dunlap@oracle.com>
To: david.cross@cypress.com
Cc: greg@kroah.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] west bridge, cyasgadget fixes
Date: Tue, 07 Sep 2010 13:34:27 -0700 [thread overview]
Message-ID: <4C86A1D3.9060703@oracle.com> (raw)
In-Reply-To: <1283891334.8865.4.camel@odc-laptop>
On 09/07/10 13:28, David Cross wrote:
> On Tue, 2010-09-07 at 12:48 -0700, Randy Dunlap wrote:
>> On Tue, 07 Sep 2010 12:44:07 -0700 David Cross wrote:
>>
>>> This patch contains update to the gadget driver, some of which are based
>>> on feedback from the Linux community concerning the usage of fat_get_block.
>>> This function call has since been removed along with all file system
>>> specific calls.
>>> It also contains some fixes for locking issues.
>>> Please let me know if there are issues or concerns with this patch.
>>> Thanks,
>>> David
>>>
>>> Signed-off-by: David Cross <david.cross@cypress.com>
>>
>>
>> Is there a patch or patch series description where the west bridge is described?
> The initial patch had a description of the device itself. I am repeating
> it here for convenience:
{thanks}
>
>> I'm asking mostly because some of the code (in the block driver patch)
>> looks like it should be in userspace, so I'm wondering why it's in the kernel tree?
>
> Can you please be more specific concerning what you think should be in
> userspace?
I'll try to find time to review the patches, but reviewing such large patches is
going to be difficult for most people, I think.
>>
>>> diff -uprN -X linux-next-vanilla/Documentation/dontdiff linux-next-vanilla/drivers/staging/westbridge/astoria/gadget/cyasgadget.c linux-next-incl-sdk/drivers/staging/westbridge/astoria/gadget/cyasgadget.c
>>> --- linux-next-vanilla/drivers/staging/westbridge/astoria/gadget/cyasgadget.c 2010-08-31 19:32:51.000000000 -0700
>>> +++ linux-next-incl-sdk/drivers/staging/westbridge/astoria/gadget/cyasgadget.c 2010-09-07 11:12:44.000000000 -0700
>>> @@ -154,7 +154,7 @@ static void cy_as_gadget_usb_event_callb
>>> #ifndef WESTBRIDGE_NDEBUG
>>> ctrlreq = (struct usb_ctrlrequest *)evdata;
>>>
>>> - cy_as_hal_print_message("<1>_cy_as_event_usb_setup_packet "
>>> + printk(KERN_INFO "<1>_cy_as_event_usb_setup_packet "
>>
>> Drop the "<1>" ??
>>
>> But lots of these are purely debug messages anyway, and shouldn't be printed
>> with printk(KERN_INFO ...)
>>
> You are probably right on both counts, I can change this for the next patch.
> The current version in linux-next has both of these issues already
> though, so I am not sure if it makes sense to redo this patch just for
> these items.
That depends on whether you ever want to get the driver out of the staging/ area....
Anyway, there are plenty of other reasons to send more patches, if we can get more
reviews of the current patches done.
>>> "received"
>>> "bRequestType=0x%x,"
>>> "bRequest=0x%x,"
>>
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next prev parent reply other threads:[~2010-09-07 20:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 19:44 [PATCH] west bridge, cyasgadget fixes David Cross
2010-09-07 19:48 ` Randy Dunlap
2010-09-07 20:28 ` David Cross
2010-09-07 20:34 ` Randy Dunlap [this message]
2010-09-08 0:00 ` Greg KH
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=4C86A1D3.9060703@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=david.cross@cypress.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/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