Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: Shawn Lin <shawn.lin@rock-chips.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org, Shawn Lin <shawn.lin@rock-chips.com>
Subject: [RFC PATCH 0/8] Attempt to clean up BUG_ONs for mmc-tree
Date: Tue, 18 Oct 2016 20:03:12 +0800	[thread overview]
Message-ID: <1476792192-6265-1-git-send-email-shawn.lin@rock-chips.com> (raw)


We have already removed some BUG_ONs recently[0][1], however there
are still many pointless BUG_ONs for mmc core. So this patchset is
going on removing these BUG_ONs from drivers/mmc/core/* and drivers/mmc/card/*.
It is also possible for us to remove it from drivers/mmc/host/* in the future.

No functional changes intented in theory, except for adding some error
handle, but I held it for a while in order to test it fully and decided
to send it after the merge window of 4.9.

Please review and comment. :)

[0]: https://patchwork.kernel.org/patch/9300739/
[1]: https://patchwork.kernel.org/patch/9300741/



Shawn Lin (8):
  mmc: core: remove BUG_ONs from sdio
  mmc: debugfs: remove BUG_ON from mmc_ext_csd_open
  mmc: core: remove BUG_ONs from mmc
  mmc: core: remove BUG_ONs from sd
  mmc: core: remove BUG_ONs from core.c
  mmc: sdio_uart: remove meaningless BUG_ON
  mmc: queue: remove BUG_ON for bounce_sg
  mmc: mmc_test: remove BUG_ONs and deploy error handling

 drivers/mmc/card/mmc_test.c  | 12 ++++++++----
 drivers/mmc/card/queue.c     |  2 --
 drivers/mmc/card/sdio_uart.c |  2 --
 drivers/mmc/core/core.c      | 40 ++++++++++++++--------------------------
 drivers/mmc/core/debugfs.c   |  6 +++++-
 drivers/mmc/core/mmc.c       | 24 ++++++++++++++----------
 drivers/mmc/core/mmc_ops.c   | 20 ++++++--------------
 drivers/mmc/core/sd.c        | 20 +++++++++-----------
 drivers/mmc/core/sd_ops.c    | 30 ++++++++++--------------------
 drivers/mmc/core/sdio.c      | 26 ++++++++++++++------------
 drivers/mmc/core/sdio_cis.c  |  3 ++-
 drivers/mmc/core/sdio_irq.c  | 12 +++++++-----
 12 files changed, 89 insertions(+), 108 deletions(-)

-- 
2.3.7



             reply	other threads:[~2016-10-18 11:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18 12:03 Shawn Lin [this message]
2016-10-18 12:03 ` [RFC PATCH 1/8] mmc: core: remove BUG_ONs from sdio Shawn Lin
2016-10-27  8:03   ` Ulf Hansson
2016-10-18 12:03 ` [RFC PATCH 2/8] mmc: debugfs: remove BUG_ON from mmc_ext_csd_open Shawn Lin
2016-10-18 12:04 ` [RFC PATCH 3/8] mmc: core: remove BUG_ONs from mmc Shawn Lin
2016-10-27  8:14   ` Ulf Hansson
2016-10-18 12:04 ` [RFC PATCH 4/8] mmc: core: remove BUG_ONs from sd Shawn Lin
2016-10-18 12:04 ` [RFC PATCH 5/8] mmc: core: remove BUG_ONs from core.c Shawn Lin
2016-10-18 12:04 ` [RFC PATCH 6/8] mmc: sdio_uart: remove meaningless BUG_ON Shawn Lin
2016-10-18 12:04 ` [RFC PATCH 7/8] mmc: queue: remove BUG_ON for bounce_sg Shawn Lin
2016-10-18 12:04 ` [RFC PATCH 8/8] mmc: mmc_test: remove BUG_ONs and deploy error handling Shawn Lin
2016-10-27  8:19 ` [RFC PATCH 0/8] Attempt to clean up BUG_ONs for mmc-tree 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=1476792192-6265-1-git-send-email-shawn.lin@rock-chips.com \
    --to=shawn.lin@rock-chips.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@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