mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
mtd: spi-nor: debugfs: Enhance output
Align the number of dashes to the bigger column width (the title in this case) to make the output more pleasant and aligned with what is done in the "params" file output. Reviewed-by: Michael Walle <mwalle@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
This commit is contained in:
parent
154f375f7d
commit
461e2f8a2d
|
|
@ -144,7 +144,7 @@ static int spi_nor_params_show(struct seq_file *s, void *data)
|
|||
|
||||
seq_puts(s, "\nsector map\n");
|
||||
seq_puts(s, " region (in hex) | erase mask | overlaid\n");
|
||||
seq_puts(s, " ------------------+------------+----------\n");
|
||||
seq_puts(s, " ------------------+------------+---------\n");
|
||||
for (i = 0; i < erase_map->n_regions; i++) {
|
||||
u64 start = region[i].offset;
|
||||
u64 end = start + region[i].size - 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user