From: Marcel Holtmann <marcel@holtmann.org>
To: Tomas Winkler <tomas.winkler@intel.com>
Cc: drzeus-list@drzeus.cx, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] MMC: cleanup endianity conversions
Date: Tue, 01 Jul 2008 03:51:04 +0200 [thread overview]
Message-ID: <1214877064.11537.94.camel@violet.holtmann.net> (raw)
In-Reply-To: <1214869984-20115-5-git-send-email-tomas.winkler@intel.com>
Hi Tomas,
> static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
> diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
> index e6703e5..3ad340c 100644
> --- a/drivers/mmc/core/mmc_ops.c
> +++ b/drivers/mmc/core/mmc_ops.c
> @@ -271,17 +271,17 @@ mmc_send_cxd_data(struct mmc_card *card, struct mmc_host *host,
> int mmc_send_csd(struct mmc_card *card, u32 *csd)
> {
> int ret, i;
> -
> + __be32 csd_buf[4];
> if (!mmc_host_is_spi(card->host))
> return mmc_send_cxd_native(card->host, card->rca << 16,
> csd, MMC_SEND_CSD);
what is up with this empty line removal. I would keep the empty line
after the variable declaration.
> for (i = 0;i < 4;i++)
> - csd[i] = be32_to_cpu(csd[i]);
> + csd[i] = be32_to_cpu(csd_buf[i]);
While you are at it. Add the missing whitespace in the for statement :)
Otherwise, looks good to me.
Regards
Marcel
next prev parent reply other threads:[~2008-07-01 1:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-30 23:53 [PATCH 1/5 V2] MMC: core - fix the use of hard coded timeout value Tomas Winkler
2008-06-30 23:53 ` [PATCH 2/5 V2] MMC: wbsd.c fix shadowing of 'dma' variable Tomas Winkler
2008-06-30 23:53 ` [PATCH 3/5] MMC: fix sdio_io sparse errors Tomas Winkler
2008-06-30 23:53 ` [PATCH 4/5] MMC: fix spares errors of sdhci.c Tomas Winkler
2008-06-30 23:53 ` [PATCH 5/5] MMC: cleanup endianity conversions Tomas Winkler
2008-07-01 1:51 ` Marcel Holtmann [this message]
2008-07-01 1:47 ` [PATCH 4/5] MMC: fix spares errors of sdhci.c Marcel Holtmann
2008-07-01 1:54 ` [PATCH 3/5] MMC: fix sdio_io sparse errors Marcel Holtmann
2008-07-01 1:44 ` [PATCH 2/5 V2] MMC: wbsd.c fix shadowing of 'dma' variable Marcel Holtmann
2008-07-05 22:38 ` Pierre Ossman
2008-07-01 1:45 ` [PATCH 1/5 V2] MMC: core - fix the use of hard coded timeout value Marcel Holtmann
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=1214877064.11537.94.camel@violet.holtmann.net \
--to=marcel@holtmann.org \
--cc=drzeus-list@drzeus.cx \
--cc=linux-kernel@vger.kernel.org \
--cc=tomas.winkler@intel.com \
/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
Powered by JetHome