unsigned int depth);
void mt_dump_range(unsigned long min, unsigned long max, unsigned int depth)
{
+ static const char spaces[] = " ";
if (min == max)
- pr_info("%*lu: ", depth * 2 + 16, min);
+ pr_info("%.*s%lu: ", depth * 2, spaces, min);
else
- pr_info("%*lu-%lu: ", depth * 2 + 16, min, max);
+ pr_info("%.*s%lu-%lu: ", depth * 2, spaces, min, max);
}
void mt_dump_entry(void *entry, unsigned long min, unsigned long max,
default:
pr_cont(" UNKNOWN TYPE\n");
}
- pr_info("dumped node %p\n", entry);
}
void mt_dump(const struct maple_tree *mt)