Re: [PATCH net-next v2] hinic: fix strncpy output truncated compile warnings

From: David Miller
Date: Tue Aug 11 2020 - 13:33:27 EST


From: Luo bin <luobin9@xxxxxxxxxx>
Date: Sun, 9 Aug 2020 11:53:49 +0800

> fix the compile warnings of 'strncpy' output truncated before
> terminating nul copying N bytes from a string of the same length
>
> Signed-off-by: Luo bin <luobin9@xxxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

Applied.