OSDN Git Service

mtd: mtd_nandecctest: improve message output
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 3 Sep 2012 13:00:00 +0000 (22:00 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:34:28 +0000 (15:34 +0100)
commitc5b8384abc11fd566a3633b7bd7d476ff04c31af
tree56300c4ddd9b4611757b3d1583dbc758feb8eb74
parentbb82477ebede3d0c37a502a899b68eb45fefca4f
mtd: mtd_nandecctest: improve message output

This includes the message related changes:

- Use pr_* instead of printk
- Print hexdump of ECC code if test fails
- Change log level for hexdump of data from KERN_DEBUG to KERN_INFO
- Factor out the hexdump code into a separate function

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/tests/mtd_nandecctest.c