From: Wolfgang Denk Date: Wed, 26 Jun 2013 16:09:31 +0200 Subject: [U-Boot] [PATCH v5 3/8] GPIO: add Dove support to Kirkwood GPIO driver In-Reply-To: <1372195668-25496-4-git-send-email-t-uboot@infra-silbe.de> References: <51C9F64B.1020107@gmail.com> <1372195668-25496-1-git-send-email-t-uboot@infra-silbe.de> <1372195668-25496-4-git-send-email-t-uboot@infra-silbe.de> Message-ID: <20130626140931.302F138047D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Sascha Silbe, In message <1372195668-25496-4-git-send-email-t-uboot@infra-silbe.de> you wrote: > The GPIO support of Dove is very similar to that on Kirkwood (and > possibly orion5x as well). Instead of duplicating the code, we tweak > the Kirkwood driver so it works for Dove, too. This throws a number of checkpatch warnings and errors (line over 80 characters, code indent should use tabs where possible, please, no spaces at the start of a line). Please fix. > -/* > - * Based on (mostly copied from) plat-orion based Linux 2.6 kernel driver. > - * Removed kernel level irq handling. Took some macros from kernel to > - * allow build. > - * > - * Dieter Kiermaier dk-arm-linux at gmx.de > - */ Please never, never ever remove existing Copyright information or information about the origin of the code. This is a strong NAK. > index cd1bc00..7e35833 100644 > --- a/arch/arm/include/asm/arch-kirkwood/gpio.h > +++ b/include/kw_gpio.h > @@ -1,5 +1,7 @@ > /* > - * arch/asm-arm/mach-kirkwood/include/mach/gpio.h > + * Marvell Dove and Kirkwood SoCs common gpio > + * > + * Sebastian Hesselbarth Which purpose has the mentioning of this name here? If this is supposed to be a copyright claim, it should say so. > - * Based on (mostly copied from) plat-orion based Linux 2.6 kernel driver. > - * Removed kernel level irq handling. Took some macros from kernel to > - * allow build. > - * > - * Dieter Kiermaier dk-arm-linux at gmx.de Again, this gets dropped. All these changes look pretty much fishy to me. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de People seldom know what they want until you give them what they ask for.