diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-08-16 17:30:19 +0200 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-09-20 20:10:49 +0530 |
commit | b0036f70044d3d59d5c90f0c4f1c8c1a90b7cd55 (patch) | |
tree | cf7052d28db4f423e8b3d312ea0bd9c0b4998144 /drivers/mtd | |
parent | 4048a5c519a86eab2805f4f07fe9f5c6c8a1fe91 (diff) |
mtd: mtdpart: balance debug messages
Balance debug message in the partition allocation/removal process in
order to keep track of them more easily.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/mtdpart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index ccbb1757ea..9ccb1b3361 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -362,6 +362,8 @@ int del_mtd_partitions(struct mtd_info *master) struct mtd_part *slave, *next; int ret, err = 0; + debug("Deleting MTD partitions on \"%s\":\n", master->name); + mutex_lock(&mtd_partitions_mutex); list_for_each_entry_safe(slave, next, &mtd_partitions, list) if (slave->master == master) { |