android_kernel_motorola_sm6375/drivers/interconnect
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Georgi Djakov 45bba71ccc UPSTREAM: interconnect: Handle memory allocation errors
When we allocate memory, kasprintf() can fail and we must check its
return value.

Bug: 151255205
Fixes: 05309830e1f8 ("interconnect: Add a name to struct icc_path")
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Link: https://lore.kernel.org/r/20200226110420.5357-2-georgi.djakov@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3791163602f7140011a8dc1691cfe6ec0cb1ef07)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I3eced73454428bf486e511cb5065f4b75bdfe3c4
2020-03-12 14:52:54 +01:00
..
qcom interconnect: qcom: qcs404: Walk the list safely on node removal 2019-12-17 19:55:39 +01:00
core.c UPSTREAM: interconnect: Handle memory allocation errors 2020-03-12 14:52:54 +01:00
internal.h UPSTREAM: interconnect: Add a name to struct icc_path 2020-03-12 14:52:54 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile UPSTREAM: interconnect: Add basic tracepoints 2020-03-12 14:52:54 +01:00
trace.h UPSTREAM: interconnect: Add basic tracepoints 2020-03-12 14:52:54 +01:00