]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mtd: spi-nor: debugfs: Enhance output
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 26 May 2026 14:56:31 +0000 (16:56 +0200)
committerPratyush Yadav <pratyush@kernel.org>
Tue, 26 May 2026 15:21:04 +0000 (17:21 +0200)
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>
drivers/mtd/spi-nor/debugfs.c

index 69830ad4399009185983549647f3be61ad5d1c84..d0191eb9f87956418dfd964fc1f16b21e3345049 100644 (file)
@@ -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;