linux_dsm_epyc7002/drivers/interconnect
Georgi Djakov 3791163602 interconnect: Handle memory allocation errors
When we allocate memory, kasprintf() can fail and we must check its
return value.

Fixes: 05309830e1 ("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>
2020-03-03 08:02:57 +01:00
..
qcom interconnect: qcom: Add MSM8916 interconnect provider driver 2020-01-07 09:30:09 +02:00
core.c interconnect: Handle memory allocation errors 2020-03-03 08:02:57 +01:00
internal.h interconnect: Add a name to struct icc_path 2019-12-16 09:25:23 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile interconnect: Add basic tracepoints 2019-12-16 09:25:23 +02:00
trace.h interconnect: Add basic tracepoints 2019-12-16 09:25:23 +02:00