Hello:
This patch was applied to netdev/net.git (main) by Jakub Kicinski kuba@kernel.org:
On Wed, 9 Aug 2023 10:09:02 +0800 you wrote:
From: Hao Chen chenhao418@huawei.com
hns3_dbg_fill_content()/hclge_dbg_fill_content() is aim to integrate some items to a string for content, and we add '\n' and '\0' in the last two bytes of content.
strscpy() will add '\0' in the last byte of destination buffer(one of items), it result in finishing content print ahead of schedule and some dump content truncation.
[...]
Here is the summary with links: - [net] net: hns3: fix strscpy causing content truncation issue https://git.kernel.org/netdev/net/c/5e3d20617b05
You are awesome, thank you!