[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175571174965.87738.10265434992981489693.b4-ty@kernel.org>
Date: Wed, 20 Aug 2025 23:12:29 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Vinicius Costa Gomes <vinicius.gomes@...el.com>,
Dave Jiang <dave.jiang@...el.com>, Thorsten Blum <thorsten.blum@...ux.dev>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: Replace memset(0) + strscpy() with
strscpy_pad()
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
Powered by blists - more mailing lists