linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org>
Cc: Chunyan Zhang <zhang.chunyan@linaro.org>,
	Baolin Wang <baolin.wang@linaro.org>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 0/3] MMC cleanups
Date: Fri,  4 Nov 2016 11:05:16 +0100	[thread overview]
Message-ID: <1478253919-2469-1-git-send-email-linus.walleij@linaro.org> (raw)

This is a set of three cleanup patches for the MMC core/card/block
code. I had to make them to start to understand what the code was
doing.

It would be great if we could apply these as a base for further
refactoring of the core code, e.g. for multiqueue efforts.

Linus Walleij (3):
  mmc: block: make gen_err a bool variable
  mmc: block: convert ecc_err to a bool
  mmc: core: use enum mmc_blk_status properly

 drivers/mmc/card/block.c    | 34 ++++++++++++++++++----------------
 drivers/mmc/card/mmc_test.c | 44 ++++++++++++++++++++++++++++++++++----------
 drivers/mmc/core/core.c     | 35 ++++++++++++++++++-----------------
 include/linux/mmc/card.h    | 12 ------------
 include/linux/mmc/core.h    | 15 ++++++++++++++-
 include/linux/mmc/host.h    |  2 +-
 6 files changed, 85 insertions(+), 57 deletions(-)

-- 
2.7.4


             reply	other threads:[~2016-11-04 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-04 10:05 Linus Walleij [this message]
2016-11-04 10:05 ` [PATCH 1/3] mmc: block: make gen_err a bool variable Linus Walleij
2016-11-04 10:05 ` [PATCH 2/3] mmc: block: convert ecc_err to a bool Linus Walleij
2016-11-04 10:05 ` [PATCH 3/3] mmc: core: use enum mmc_blk_status properly Linus Walleij
2016-11-07 12:43 ` [PATCH 0/3] MMC cleanups Ulf Hansson

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=1478253919-2469-1-git-send-email-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=baolin.wang@linaro.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=zhang.chunyan@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;
as well as URLs for NNTP newsgroup(s).