mips: setup: use strscpy to replace strlcpy
author陈学兵 <chenxuebing@jari.cn>
Sun, 22 May 2022 07:46:18 +0000 (15:46 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 23 May 2022 09:29:48 +0000 (11:29 +0200)
commit88ca100c885f967c37f3d60d5225a639ed6bd6f1
treeb3c8c0898df3764c9c0560774afc5cd8de4e9c5d
parent07bdec3cdc92a1f8ede0b904d54f440f69c26704
mips: setup: use strscpy to replace strlcpy

The strlcpy should not be used because it doesn't limit the source
length. Preferred is strscpy.

Signed-off-by: XueBing Chen <chenxuebing@jari.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/setup.c