Skip to content

debug, printk cleanup

Brian Norris linux-mtd 1 version Applied

Status from this message: Pushed to l2-mtd-2.6.git, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4mtd: remove printk's for [kv][mz]alloc failuresdrivers/mtd/cmdlinepart.c drivers/mtd/inftlcore.c drivers/mtd/nand/nand_bbt.c +4 more+8 -311 reply
2/4mtd: nand: convert printk() to pr_*()drivers/mtd/nand/nand_base.c drivers/mtd/nand/nand_bbt.c+41 -4225 replies
3/4mtd: nand: replace DEBUG() with dev_dbg()drivers/mtd/nand/nand_base.c drivers/mtd/nand/nand_bbt.c+26 -293 replies
4/4mtd: nand: define pr_fmt() to include __func__ in debug outputdrivers/mtd/nand/nand_bbt.c+12 -115 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] debug, printk cleanup

These patches come from discussion at:
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036161.html

They are based on the mtd-2.6 git tree, plus a few of the cleanup patches already in Artem's l2 git tree.

Note:
The 4th patch adds the __func__ prefix to some print messages that didn't have them previously. Thus, I'd be fine if the 4th patch is dropped.

Thanks,
Brian

Brian Norris (4):
mtd: remove printk's for [kv][mz]alloc failures
mtd: nand: convert printk() to pr_*()
mtd: nand: replace DEBUG() with dev_dbg()
mtd: nand: define pr_fmt() to include __func__ in debug output

 drivers/mtd/cmdlinepart.c         |    3 -
 drivers/mtd/inftlcore.c           |    4 +-
 drivers/mtd/nand/nand_base.c      |   90 ++++++++++++++++++------------------
 drivers/mtd/nand/nand_bbt.c       |   66 +++++++++++---------------
 drivers/mtd/nand/rtc_from4.c      |    1 -
 drivers/mtd/nftlcore.c            |    4 +-
 drivers/mtd/onenand/onenand_bbt.c |    4 +-
 drivers/mtd/ssfdc.c               |   10 +---
 8 files changed, 78 insertions(+), 104 deletions(-)