projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4048a5c
)
mtd: mtdpart: balance debug messages
author
Miquel Raynal
<miquel.raynal@bootlin.com>
Thu, 16 Aug 2018 15:30:19 +0000
(17:30 +0200)
committer
Jagan Teki
<jagan@amarulasolutions.com>
Thu, 20 Sep 2018 14:40:49 +0000
(20:10 +0530)
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>
drivers/mtd/mtdpart.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/mtdpart.c
b/drivers/mtd/mtdpart.c
index
ccbb175
..
9ccb1b3
100644
(file)
--- 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) {