Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 12 Nov 2020 17:34:42 +0800 you wrote:
> From: Wenlin Kang
>
> Replace strncpy() with strscpy(), fixes the following warning:
>
> In function 'bearer_name_validate',
> inlined from 'tipc_enable_bearer' at net/
On 11/12/20 5:34 PM, Kang Wenlin wrote:
> From: Wenlin Kang
>
> Replace strncpy() with strscpy(), fixes the following warning:
>
> In function 'bearer_name_validate',
> inlined from 'tipc_enable_bearer' at net/tipc/bearer.c:246:7:
> net/tipc/bearer.c:141:2: warning: 'strncpy' specified bound
From: Wenlin Kang
Replace strncpy() with strscpy(), fixes the following warning:
In function 'bearer_name_validate',
inlined from 'tipc_enable_bearer' at net/tipc/bearer.c:246:7:
net/tipc/bearer.c:141:2: warning: 'strncpy' specified bound 32 equals
destination size [-Wstringop-truncation]