From: Peter Korsgaard <jacmet@sunsite.dk>
To: Greg KH <greg@kroah.com>
Cc: linuxppc-dev@ozlabs.org, dbrownell@users.sourceforge.net,
stern@rowland.harvard.edu, linux-usb@vger.kernel.org
Subject: Re: [patch v7 3/4] USB: add Cypress c67x00 OTG controller HCD driver
Date: Wed, 20 Feb 2008 20:25:56 +0100 [thread overview]
Message-ID: <87fxvnctvf.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20080220170300.GB3453@kroah.com> (Greg KH's message of "Wed\, 20 Feb 2008 09\:03\:00 -0800")
>>>>> "Greg" == Greg KH <greg@kroah.com> writes:
>> Sorry, I cannot reproduce that here. Could you try again?
Greg> I will on the next round :)
Ok.
Greg> Can you move the files under the hcd/ subdir
Greg> Oops, I ment "host/" not, "hcd/".
Yeah, I guessed ;)
>> Sorry, I don't think that's a good idea as the hardware can do
>> peripheral as well, and as you can see in patch 4, a gadget driver is
>> on it's way.
Greg> Ok, that's fine, why can't the gadget stuff go into the gadget/
Greg> directory then also? As this device is a host controller, it makes
Greg> sense to me to keep it in the host-controller subdirectory.
Because of the way the driver (and hardware) is structured. There is a
single c67x00.ko which can contain both hcd and gadget support
depending on Kconfig.
Greg> run it through checkpatch.pl and fix up the __FUNCTION__
Greg> warnings, and then I'll be willing to test it again :)
>>
>> Ahh, that seems to be a pretty new warning in checkpatch - I atleast
>> haven't seen it before. The other things it complains about seems to
>> be rubbish though (except for the single indented label).
Greg> What other things do you think are rubbish?
It misdetected a #define as a functions and complained, E.G.:
WARNING: no space between function name and open parenthesis '('
#298: FILE: include/linux/usb/c67x00.h:41:
+ #define C67X00_SIE2_PERIPHERAL_B (C67X00_SIE_PERIPHERAL_B << 4)
But ok, the space before the #define shouldn't have been there.
Greg> And yes, it's a new warning with the advent of 2.6.25-rc1, but
Greg> that's no reason to ignore it :)
Sure. it's fixed in the v9 series.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2008-02-20 19:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 15:09 [patch v7 0/4] Cypress c67x00 (EZ-Host/EZ-OTG) support Peter Korsgaard
2008-02-19 15:09 ` [patch v7 1/4] USB: add Cypress c67x00 low level interface code Peter Korsgaard
2008-02-19 15:09 ` [patch v7 2/4] USB: add Cypress c67x00 OTG controller core driver Peter Korsgaard
2008-02-19 15:09 ` [patch v7 3/4] USB: add Cypress c67x00 OTG controller HCD driver Peter Korsgaard
2008-02-19 23:55 ` Greg KH
2008-02-20 9:01 ` Peter Korsgaard
2008-02-20 16:16 ` Greg KH
2008-02-20 16:57 ` Peter Korsgaard
2008-02-20 17:03 ` Greg KH
2008-02-20 18:07 ` David Brownell
2008-02-20 18:29 ` Greg KH
2008-02-20 19:25 ` Peter Korsgaard [this message]
2008-02-19 15:09 ` [patch v7 4/4] USB: add Cypress c67x00 OTG controller gadget driver Peter Korsgaard
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=87fxvnctvf.fsf@macbook.be.48ers.dk \
--to=jacmet@sunsite.dk \
--cc=dbrownell@users.sourceforge.net \
--cc=greg@kroah.com \
--cc=linux-usb@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.