From: "Lothar Waßmann" <LW@KARO-electronics.de>
To: Shawn Guo <shawn.guo@freescale.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
Shawn Guo <shawn.guo@linaro.org>,
Sascha Hauer <kernel@pengutronix.de>, <linux-mmc@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, Chris Ball <cjb@laptop.org>
Subject: Re: [MXS MMC 2/5] Some cleanups for the MMC driver
Date: Wed, 7 Dec 2011 12:57:44 +0100 [thread overview]
Message-ID: <20191.21688.696997.76000@ipc1.ka-ro> (raw)
In-Reply-To: <20111207120120.GK5550@S2100-06.ap.freescale.net>
Hi,
Shawn Guo writes:
> I'm fine with this cosmetic patch with the comments below addressed.
>
> On Tue, Dec 06, 2011 at 02:41:27PM +0100, Lothar Waßmann wrote:
> > - Remove bogus parens around numerical arguments in #define's
> > - When defining bit masks, use the #def for the shift count
> > instead of repeating the numbers
>
> This change brings a few 'line over 80 characters' checkpatch warnings.
>
will fix.
> > - Remove bogus whitespace in indentation
> > - Remove 'break' at end of switch statement
> >
> > Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
> > ---
> > drivers/mmc/host/mxs-mmc.c | 57 +++++++++++++++++++++----------------------
> > 1 files changed, 28 insertions(+), 29 deletions(-)
> >
> > diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
> [...]
> > @@ -277,7 +277,7 @@ static irqreturn_t mxs_mmc_irq_handler(int irq, void *dev_id)
> >
> > stat = readl(host->base + HW_SSP_CTRL1);
> > writel(stat & MXS_MMC_IRQ_BITS,
> > - host->base + HW_SSP_CTRL1 + MXS_CLR_ADDR);
>
> This is an intended indentation with 7 spaces.
>
According to Documentation/CodingStyle spaces are never used for
indentation (except in documentation, Kconfig and comments).
Lothar Waßmann
--
___________________________________________________________
Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996
www.karo-electronics.de | info@karo-electronics.de
___________________________________________________________
next prev parent reply other threads:[~2011-12-07 11:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 13:41 [MXS MMC 0/5] Some cleanups and fixes for the MXS MMC subsystem Lothar Waßmann
2011-12-06 13:41 ` [MXS MMC 1/5] Fix grammatical error in comment Lothar Waßmann
2011-12-06 13:41 ` [MXS MMC 2/5] Some cleanups for the MMC driver Lothar Waßmann
2011-12-06 13:41 ` [MXS MMC 3/5] Add support for SSP/MMC ports 2 & 3 Lothar Waßmann
2011-12-06 13:41 ` [MXS MMC 4/5] Check the return codes of clk_enable() and mxs_reset_block() Lothar Waßmann
2011-12-06 13:41 ` [MXS MMC 5/5] Add an appropriate MODULE_ALIAS Lothar Waßmann
2011-12-06 19:12 ` Wolfram Sang
2011-12-07 12:34 ` Shawn Guo
2011-12-06 19:12 ` [MXS MMC 4/5] Check the return codes of clk_enable() and mxs_reset_block() Wolfram Sang
2011-12-07 12:33 ` Shawn Guo
2011-12-06 19:10 ` [MXS MMC 3/5] Add support for SSP/MMC ports 2 & 3 Wolfram Sang
2011-12-07 12:30 ` Shawn Guo
2011-12-07 12:01 ` [MXS MMC 2/5] Some cleanups for the MMC driver Shawn Guo
2011-12-07 11:57 ` Lothar Waßmann [this message]
2011-12-07 12:16 ` Shawn Guo
2011-12-07 12:50 ` Uwe Kleine-König
2011-12-06 19:05 ` [MXS MMC 1/5] Fix grammatical error in comment Wolfram Sang
2011-12-07 11:00 ` Shawn Guo
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=20191.21688.696997.76000@ipc1.ka-ro \
--to=lw@karo-electronics.de \
--cc=cjb@laptop.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=shawn.guo@freescale.com \
--cc=shawn.guo@linaro.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
all inboxes | Powered by JetHome®