aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2021-03-08 13:09:15 +0000
committerGeorgi Djakov <[email protected]>2021-03-08 13:09:15 +0000
commit715ea61532e731c62392221238906704e63d75b6 (patch)
tree1d2dd3f001be56492b97f71eebba16a19f31ca1d /lib/xarray.c
parentinterconnect: qcom: msm8939: remove rpm-ids from non-RPM nodes (diff)
downloadkernel-715ea61532e731c62392221238906704e63d75b6.tar.gz
kernel-715ea61532e731c62392221238906704e63d75b6.zip
interconnect: core: fix error return code of icc_link_destroy()
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]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions