]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: prefer strscpy to strlcpy
authorJoe Perches <joe@perches.com>
Tue, 29 Dec 2020 23:14:31 +0000 (15:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Dec 2020 23:36:49 +0000 (15:36 -0800)
commit51f5b72fe97fc8a63756cc17a3440f703afc12b5
treeedf57809079633ee9522eec5a268e0ac39d3fe64
parent1d733b673895fd17436f13ca86845461ce01d9ef
checkpatch: prefer strscpy to strlcpy

Prefer strscpy over the deprecated strlcpy function.

Link: https://lkml.kernel.org/r/19fe91084890e2c16fe56f960de6c570a93fa99b.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Requested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl