mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
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>
This commit is contained in:
parent
4048a5c519
commit
b0036f7004
1 changed files with 2 additions and 0 deletions
|
@ -362,6 +362,8 @@ int del_mtd_partitions(struct mtd_info *master)
|
||||||
struct mtd_part *slave, *next;
|
struct mtd_part *slave, *next;
|
||||||
int ret, err = 0;
|
int ret, err = 0;
|
||||||
|
|
||||||
|
debug("Deleting MTD partitions on \"%s\":\n", master->name);
|
||||||
|
|
||||||
mutex_lock(&mtd_partitions_mutex);
|
mutex_lock(&mtd_partitions_mutex);
|
||||||
list_for_each_entry_safe(slave, next, &mtd_partitions, list)
|
list_for_each_entry_safe(slave, next, &mtd_partitions, list)
|
||||||
if (slave->master == master) {
|
if (slave->master == master) {
|
||||||
|
|
Loading…
Reference in a new issue