]> www.infradead.org Git - users/jedix/linux-maple.git/commit
m68k: setup: Remove size argument when calling strscpy()
authorThorsten Blum <thorsten.blum@linux.dev>
Sun, 2 Mar 2025 23:05:31 +0000 (00:05 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 10 Mar 2025 13:06:38 +0000 (14:06 +0100)
commit3c4e4ec957b6243cce92fb7d450a71a93ce181c5
tree5cd2dfaeeb4a7fe56eb7d4cec0678596370ca61e
parent723be3c6ab31b320afe0075e2eb9b8dd41f3b6d1
m68k: setup: Remove size argument when calling strscpy()

The size parameter of strscpy() is optional and specifying the size of
the destination buffer is unnecessary. Remove it to simplify the code.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Tested-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/20250302230532.245884-2-thorsten.blum@linux.dev
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/setup_mm.c