aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorXu Panda <[email protected]>2022-11-30 08:01:41 +0000
committerPetr Mladek <[email protected]>2022-12-01 10:57:51 +0000
commit7365df19e8ff7a031e1557616fc0b3aa6d794d7e (patch)
tree46929269a8b6b2e1be2336e9bc2a57cab587a782 /drivers/fpga/fpga-bridge.c
parentprintk: fix a typo of comment (diff)
downloadkernel-7365df19e8ff7a031e1557616fc0b3aa6d794d7e.tar.gz
kernel-7365df19e8ff7a031e1557616fc0b3aa6d794d7e.zip
printk: use strscpy() to instead of strlcpy()
The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Signed-off-by: Xu Panda <[email protected]> Signed-off-by: Yang Yang <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions