Re: [PATCH v3] Added warnings in checkpatch.pl script to :

2019-07-09 Thread Jonathan Corbet
On Tue, 9 Jul 2019 17:54:17 +0530 NitinGote wrote: > From: Nitin Gote The patch needs a proper subject line. > 1. Deprecate strcpy() in favor of strscpy(). > 2. Deprecate strlcpy() in favor of strscpy(). > 3. Deprecate strncpy() in favor of strscpy() or strscpy_pad(). > > Updated strncpy() s

[PATCH v3] Added warnings in checkpatch.pl script to :

2019-07-09 Thread NitinGote
From: Nitin Gote 1. Deprecate strcpy() in favor of strscpy(). 2. Deprecate strlcpy() in favor of strscpy(). 3. Deprecate strncpy() in favor of strscpy() or strscpy_pad(). Updated strncpy() section in Documentation/process/deprecated.rst to cover strscpy_pad() case. Signed-off-by: Nitin Gote --