[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175492896874.1716045.7275722865948412355.git-patchwork-notify@kernel.org>
Date: Mon, 11 Aug 2025 16:16:08 +0000
From: patchwork-bot+bluetooth@...nel.org
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: marcel@...tmann.org, luiz.dentz@...il.com,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: btintel_pcie: Use strscpy() instead of
strscpy_pad()
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@...el.com>:
On Mon, 11 Aug 2025 11:19:06 +0200 you wrote:
> kzalloc() already zero-initializes the destination buffer 'data', making
> strscpy() sufficient for safely copying 'name'. The additional
> NUL-padding performed by strscpy_pad() is unnecessary.
>
> Add a new local variable to store the length of 'name' and reuse it
> instead of recalculating the same length.
>
> [...]
Here is the summary with links:
- Bluetooth: btintel_pcie: Use strscpy() instead of strscpy_pad()
https://git.kernel.org/bluetooth/bluetooth-next/c/523024537985
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists