xilinx: common: Use strlcpy instead of strncpy
authorMichal Simek <michal.simek@amd.com>
Thu, 21 Jul 2022 14:19:18 +0000 (16:19 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 06:25:16 +0000 (08:25 +0200)
commit4a1bfcd7aa6f2138a8431a916d4202a66ab65a6c
treee9c9c6743751324f8db221a7e8078a0a7b040a6c
parentee5a4b87a1a57607db28fafa2692dabf92c64570
xilinx: common: Use strlcpy instead of strncpy

It is recommendation done by checkpatch to all the time have \0 terminated
strings.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/c7bfab50c40f6213f1b347b5e4674e382e83cb94.1658413156.git.michal.simek@amd.com
board/xilinx/common/board.c