summaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-06-02 22:29:14 +0200
committerJonathan Corbet <corbet@lwn.net>2021-06-04 19:21:43 +0200
commitf9ce26c56d37fa6d32f700dfc77f4ceb445ce215 (patch)
treec568a0bfd717affc70d4d1b7892c1218dd0a5f58 /block/blk-ioc.c
parentdocumentation-file-ref-check: Make git check work for multiple working direct... (diff)
downloadlinux-f9ce26c56d37fa6d32f700dfc77f4ceb445ce215.tar.xz
linux-f9ce26c56d37fa6d32f700dfc77f4ceb445ce215.zip
docs: networking: Replace strncpy() with strscpy()
Replace example code's use of strncpy() with strscpy() functions. Using strncpy() is considered deprecated: https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://lore.kernel.org/r/20210602202914.4079123-1-keescook@chromium.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions