kernel-hacking-2024-linux-s.../Documentation/i2c
Stephen Kitt 220ee02a0b docs: stop suggesting strlcpy
Since strlcpy is deprecated, the documentation shouldn't suggest using
it. This patch fixes the examples to use strscpy instead. It also uses
sizeof instead of underlying constants as far as possible, to simplify
future changes to the corresponding data structures.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Federico Vaga <federico.vaga@vaga.pv.it>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2019-06-20 14:08:49 -06:00
..
busses i2c-piix4: Add Hygon Dhyana SMBus support 2019-05-03 16:47:54 +02:00
muxes
dev-interface
DMA-considerations i2c: refactor function to release a DMA safe buffer 2018-08-30 23:13:15 +02:00
fault-codes i2c: add suspended flag and accessors for i2c adapters 2019-01-08 21:01:07 +01:00
functionality
gpio-fault-injection i2c: gpio: fault-injector: add 'inject_panic' injector 2019-02-23 10:34:08 +01:00
i2c-protocol
i2c-stub
i2c-topology
instantiating-devices docs: stop suggesting strlcpy 2019-06-20 14:08:49 -06:00
old-module-parameters
slave-eeprom-backend
slave-interface
smbus-protocol
summary
ten-bit-addresses
upgrading-clients docs: stop suggesting strlcpy 2019-06-20 14:08:49 -06:00
writing-clients