Kees Cook
f9ce26c56d
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 <[email protected] >
Acked-by: Dmitry Torokhov <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected] >
2021-06-04 11:21:43 -06:00
Randy Dunlap
eef8abdaed
Documentation: input: joydev file corrections
...
Fix typos, grammar, punctuation in
Documentation/input/joydev/*.rst files.
Signed-off-by: Randy Dunlap <[email protected] >
Cc: Dmitry Torokhov <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected] >
2021-05-03 16:51:10 -06:00
Markus Heiser
5303b8d3a2
docs: fix nested numbering in the TOC
...
With Sphinx 1.6 nested numbering is reported as warning::
./input/joydev/index.rst:13: WARNING: input/joydev/joystick-api is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-func-open is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-func-close is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-func-ioctl is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-func-poll is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-ioc-adap-g-caps is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-ioc-adap-g-log-addrs is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-ioc-adap-g-phys-addr is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-ioc-dqevent is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-ioc-g-mode is already assigned section numbers (nested numbered toctree?)
./media/uapi/cec/cec-funcs.rst:8: WARNING: media/uapi/cec/cec-ioc-receive is already assigned section numbers (nested numbered toctree?)
TOC numbering is already set in::
./input/devices/index.rst:9:
./media/uapi/cec/cec-api.rst:19:
I guess the nested numbering in:
./input/joydev/index.rst
./media/uapi/cec/cec-funcs.rst
is just a C&P typo, so lets remove it.
Signed-off-by: Markus Heiser <[email protected] >
Signed-off-by: Jonathan Corbet <[email protected] >
2017-08-24 13:32:26 -06:00
Dmitry Torokhov
ad6493800b
Input: docs - freshen up introduction
...
Stop saying that API is experimental and that only USB is supported,
acknowledge that evdev is the preferred interface, and remove paragraph
encouraging people sending snail mail to Vojtech :) along with his email.
Signed-off-by: Dmitry Torokhov <[email protected] >
2017-04-17 20:19:34 -07:00
Dmitry Torokhov
4c79e98be5
Input: docs - update joystick documentation a bit
...
Consolidate use instructions and userspace API notes into the same chapter;
remove completely obsolete references, move into a separate subdirectory.
Signed-off-by: Dmitry Torokhov <[email protected] >
2017-04-17 20:19:11 -07:00