[RFC PATCH 0/8] Attempt to clean up BUG_ONs for mmc-tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux