OSDN Git Service

mtd: mtdpart: add debug prints to partition parser.
authorMichal Suchanek <hramrach@gmail.com>
Tue, 18 Aug 2015 15:34:07 +0000 (15:34 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 11 Oct 2015 19:58:28 +0000 (12:58 -0700)
commit8e2c992b59fcb5e56e3667f5c30c7d26fbbf14a2
tree56f3a4235c177ee5563ab7cd4770b605785efa7e
parenteb042ec35956de2684de2a05a814cd15efe570ca
mtd: mtdpart: add debug prints to partition parser.

The probe of a mtd device can fail when a partition parser returns
error. The failure due to partition parsing can be quite mysterious when
multiple partitioning schemes are compiled in and any of them can fail
the probe.

Add debug prints which show what parsers were tried and what they
returned.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/mtdpart.c