dmaengine: dmatest: use strscpy to replace strlcpy
authorXueBing Chen <chenxuebing@jari.cn>
Wed, 25 May 2022 09:03:03 +0000 (17:03 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 6 Jul 2022 05:34:43 +0000 (11:04 +0530)
commit6bc7ea3c9b49c869f688d949bb473c4e1484894f
tree3c53315d9739ecc20dd10f8093e80107b7d55c93
parenta71da24ce1f8f6844c6378ae394b5c4b31ff5725
dmaengine: dmatest: 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>
Link: https://lore.kernel.org/r/12e4cf06.a35.180fa748c29.Coremail.chenxuebing@jari.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmatest.c