android_kernel_motorola_sm6375/drivers/i2c
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xiaoke Wang 0926a2b7cb i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
[ Upstream commit 7c0195fa9a9e263df204963f88a22b21688ffb66 ]

devm_kstrdup() returns pointer to allocated string on success,
NULL on failure. So it is better to check the return value of it.

Fixes: e35478eac0 ("i2c: mux: demux-pinctrl: run properly with multiple instances")
Signed-off-by: Xiaoke Wang <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-10-10 21:46:38 +02:00
..
algos
busses i2c: aspeed: Reset the i2c controller when timeout occurs 2023-09-23 11:00:06 +02:00
muxes i2c: mux: demux-pinctrl: check the return value of devm_kstrdup() 2023-10-10 21:46:38 +02:00
i2c-boardinfo.c
i2c-core-acpi.c
i2c-core-base.c i2c: Fix a potential use after free 2022-08-25 11:17:38 +02:00
i2c-core-of.c
i2c-core-slave.c
i2c-core-smbus.c
i2c-core.h
i2c-dev.c
i2c-mux.c
i2c-slave-eeprom.c
i2c-smbus.c
i2c-stub.c
Kconfig
Makefile