dmaengine: xilinx: use strscpy to replace strlcpy
authorXueBing Chen <chenxuebing@jari.cn>
Mon, 11 Jul 2022 14:05:33 +0000 (22:05 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Jul 2022 13:34:35 +0000 (19:04 +0530)
commitf66d59180bae2f0e8979962c3df4d445b3ac50d0
tree80a6ed7c620d9375e9e698a0569d8a4b71a36864
parente0c7ea83f006ce8c3264ef8b6508a891d886ad4f
dmaengine: xilinx: 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>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/39aa840f.e31.181ed9461c2.Coremail.chenxuebing@jari.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dpdma.c