Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aae85e3c authored by Markus Elfring's avatar Markus Elfring Committed by Michael Ellerman
Browse files

powerpc/mm: Use seq_putc() in two functions



Two single characters (line breaks) should be put into a sequence.
Thus use the corresponding function "seq_putc".

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent b6a945ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ static void dump_hpte_info(struct pg_state *st, unsigned long ea, u64 v, u64 r,
	aps_index = calculate_pagesize(st, aps, "actual");
	if (aps_index != 2)
		seq_printf(st->seq, "LP enc: %lx", lp);
	seq_puts(st->seq, "\n");
	seq_putc(st->seq, '\n');
}


+1 −1
Original line number Diff line number Diff line
@@ -350,7 +350,7 @@ static void note_page(struct pg_state *st, unsigned long addr,
					  st->current_flags,
					  pg_level[st->level].num);

			seq_puts(st->seq, "\n");
			seq_putc(st->seq, '\n');
		}

		/*