mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 19:56:52 +07:00
220ee02a0b
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> |
||
---|---|---|
.. | ||
busses | ||
muxes | ||
dev-interface | ||
DMA-considerations | ||
fault-codes | ||
functionality | ||
gpio-fault-injection | ||
i2c-protocol | ||
i2c-stub | ||
i2c-topology | ||
instantiating-devices | ||
old-module-parameters | ||
slave-eeprom-backend | ||
slave-interface | ||
smbus-protocol | ||
summary | ||
ten-bit-addresses | ||
upgrading-clients | ||
writing-clients |