android_kernel_motorola_sm6375/drivers/interconnect
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jia-Ju Bai cc678e2f37 interconnect: core: fix error return code of icc_link_destroy()
[ Upstream commit 715ea61532e731c62392221238906704e63d75b6 ]

When krealloc() fails and new is NULL, no error return code of
icc_link_destroy() is assigned.
To fix this bug, ret is assigned with -ENOMEM hen new is NULL.

Reported-by: TOTE Robot <[email protected]>
Signed-off-by: Jia-Ju Bai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Georgi Djakov <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-04-16 11:46:37 +02:00
..
qcom
core.c
Kconfig
Makefile