mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
![]() There's no need to get the length of an DT array property before parsing the array. of_property_read_variable_u8_array() takes a minimum and maximum length and returns the actual length (or error code). This is part of a larger effort to remove callers of of_get_property() and similar functions. of_get_property() leaks the DT property data pointer which is a problem for dynamically allocated nodes which may be freed. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Robert Foss <rfoss@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240731201407.1838385-4-robh@kernel.org |
||
---|---|---|
.. | ||
analogix_dp_core.c | ||
analogix_dp_core.h | ||
analogix_dp_reg.c | ||
analogix_dp_reg.h | ||
analogix-anx78xx.c | ||
analogix-anx78xx.h | ||
analogix-anx6345.c | ||
analogix-i2c-dptx.c | ||
analogix-i2c-dptx.h | ||
analogix-i2c-txcommon.h | ||
anx7625.c | ||
anx7625.h | ||
Kconfig | ||
Makefile |