diff options
| author | Kees Cook <keescook@chromium.org> | 2022-01-18 10:20:47 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-26 19:37:06 +0100 |
| commit | 710f8af199ee9d72dd87083edd55c5ee250ee6f4 (patch) | |
| tree | 3ebed309020b168d7b0367a548e2de306e622fb8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | misc: rtsx: Quiesce rts5249 on system suspend (diff) | |
| download | linux-710f8af199ee9d72dd87083edd55c5ee250ee6f4.tar.gz linux-710f8af199ee9d72dd87083edd55c5ee250ee6f4.zip | |
eeprom: at25: Replace strncpy() with strscpy()
Use strscpy() instead of strncpy(), since its use has been deprecated[1].
[1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jiri Prchal <jiri.prchal@aksignal.cz>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220118182047.3385295-1-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
