[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162344640331.8269.6819397375303273378.git-patchwork-notify@kernel.org>
Date: Fri, 11 Jun 2021 21:20:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Lijun Pan <lijunp213@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] ibmvnic: fix kernel build warning in strncpy
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Fri, 11 Jun 2021 13:33:53 -0500 you wrote:
> drivers/net/ethernet/ibm/ibmvnic.c: In function ‘handle_vpd_rsp’:
> drivers/net/ethernet/ibm/ibmvnic.c:4393:3: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
> 4393 | strncpy((char *)adapter->fw_version, "N/A", 3 * sizeof(char));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Signed-off-by: Lijun Pan <lijunp213@...il.com>
>
> [...]
Here is the summary with links:
- [net-next,v2] ibmvnic: fix kernel build warning in strncpy
https://git.kernel.org/netdev/net-next/c/0b217d3d7462
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