Re: [PATCH] dmaengine: idxd: Replace memset(0) + strscpy() with strscpy_pad()
From: Vinod Koul
Date: Wed Aug 20 2025 - 13:43:16 EST
On Mon, 11 Aug 2025 00:58:59 +0200, Thorsten Blum wrote:
> Replace memset(0) followed by strscpy() with strscpy_pad() to improve
> idxd_load_iaa_device_defaults(). This avoids zeroing the memory before
> copying the strings and ensures the destination buffers are only written
> to once, simplifying the code and improving efficiency.
>
>
Applied, thanks!
[1/1] dmaengine: idxd: Replace memset(0) + strscpy() with strscpy_pad()
commit: 847164d47098f55e99503819300b36cca20cb4f7
Best regards,
--
~Vinod