2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/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 i2c: mux: gpio: move header to platform_data 2018-05-17 16:27:52 +02:00
dev-interface Documentation/i2c: adopt kernel commenting style in examples 2018-04-18 10:09:44 +02:00
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 i2c: fix reference to functionality constants definition 2015-02-19 16:57:48 +01:00
gpio-fault-injection i2c: gpio: fault-injector: add 'inject_panic' injector 2019-02-23 10:34:08 +01:00
i2c-protocol Documentation: i2c: improve section about flags mangling the protocol 2014-04-06 13:53:48 +02:00
i2c-stub i2c: stub: Add support for banked register ranges 2014-07-17 19:56:15 +02:00
i2c-topology i2c: Documentation: i2c-topology: mention recent driver additions 2017-08-22 08:36:57 +02:00
instantiating-devices docs: stop suggesting strlcpy 2019-06-20 14:08:49 -06:00
old-module-parameters i2c: Drop probe, ignore and force module parameters 2009-12-06 17:06:24 +01:00
slave-eeprom-backend Doc: i2c: Fix typo in Documentation/i2c 2016-02-10 13:12:14 -07:00
slave-interface Documentation: i2c: slave-interface: add note for driver development 2016-09-08 16:57:14 +02:00
smbus-protocol i2c: use an IRQ to report Host Notify events, not alert 2016-11-24 16:22:06 +01:00
summary Documentation: i2c: describe the new slave mode 2015-03-27 16:53:39 +01:00
ten-bit-addresses i2c: support 10 bit and slave addresses in sysfs 'new_device' 2015-08-24 14:05:15 +02:00
upgrading-clients docs: stop suggesting strlcpy 2019-06-20 14:08:49 -06:00
writing-clients Documentation: i2c: Use PM ops instead of legacy suspend/resume 2014-12-04 19:09:03 +01:00