mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marcelo Jimenez <mroberto@cpti.cetuc.puc-rio.br>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>,
	Ralf Baechle <ralf@linux-mips.org>,
	Eric Miao <eric.y.miao@gmail.com>,
	Dominik Brodowski <linux@dominikbrodowski.net>,
	Manuel Lauss <manuel.lauss@gmail.com>,
	Dmitry Artamonow <mad_soft@inbox.ru>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	linux-pcmcia@lists.infradead.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: pcmcia: Adds nanoEngine PCMCIA support.
Date: Wed, 31 Mar 2010 11:41:07 -0300	[thread overview]
Message-ID: <q2ncecb6d8f1003310741g542debabs1fd8044983cc1c37@mail.gmail.com> (raw)
In-Reply-To: <20100331070648.GA23391@pengutronix.de>

Hi Wolgram,

On Wed, Mar 31, 2010 at 04:06, Wolfram Sang <w.sang@pengutronix.de> wrote:
> Hi Marcelo,
>
> On Tue, Mar 30, 2010 at 03:14:39PM -0300, Marcelo Roberto Jimenez wrote:
>> This patch adds nanoEngine PCMCIA support, with support for two sockets.
>> ...
>> +
>> +     memset(state, 0, sizeof(struct pcmcia_state));
>> +     switch (i) {
>> +     case 0:
>> +             state->ready    =  (levels & GPIO_PC_READY0)    ? 1 : 0;
>> +             state->detect   = !(levels & GPIO_PC_CD0)       ? 1 : 0;
>
> If lines are added at a later stage, all this indentation might have to be
> redone. This breaks 'git blame'. Please just one space around operators as
> suggested in CodingStyle, chapter 3.1.

Sorry, I didn't know about that. I ran the patch through checkpatch.pl
and it did not complain, so I thought it was ok. I will change that
and resubmit.

>> +
>> +int pcmcia_nanoengine_init(struct device *dev)
>> +{
>> +     int ret = -ENODEV;
>> +
>> +     printk(KERN_INFO "BSE nanoEngine pcmcia support by "
>> +             "Miguel Freitas & Marcelo Jimenez.\n");
>
> Is this really necessary? Log would get quite messy if all drivers do this.
> I haven't checked, can't you just use MODULE_AUTHOR here?

I can remove it, in fact. It was there at the first version of the
driver, so I just added my name. In this case, this file becomes part
of another module, in this case the module is "sa1100_cs", so I don't
think I could add MODULE_AUTHOR there, but I could use some advice
here.

>
> --
> Pengutronix e.K.                           | Wolfram Sang                |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Thanks for your comments,
Marcelo.

  reply	other threads:[~2010-03-31 14:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30 18:14 Marcelo Roberto Jimenez
2010-03-31  6:47 ` Dominik Brodowski
2010-03-31 14:26   ` Marcelo Jimenez
2010-03-31  7:06 ` Wolfram Sang
2010-03-31 14:41   ` Marcelo Jimenez [this message]
2010-03-31 15:23 Marcelo Roberto Jimenez

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=q2ncecb6d8f1003310741g542debabs1fd8044983cc1c37@mail.gmail.com \
    --to=mroberto@cpti.cetuc.puc-rio.br \
    --cc=eric.y.miao@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pcmcia@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=linux@dominikbrodowski.net \
    --cc=mad_soft@inbox.ru \
    --cc=manuel.lauss@gmail.com \
    --cc=ralf@linux-mips.org \
    --cc=rjw@sisk.pl \
    --cc=w.sang@pengutronix.de \
    /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

all inboxes | Powered by JetHome®