linux_dsm_epyc7002/drivers/thermal/qcom
Colin Ian King c7071f4914 thermal: qcom: tsens-v1: Fix kfree of a non-pointer value
Currently the kfree of pointer qfprom_cdata is kfreeing an
error value that has been cast to a pointer rather than a
valid address.  Fix this by removing the kfree.

Fixes: 95ededc17e4e ("thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Tested-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191022111806.23143-1-colin.king@canonical.com
2019-11-07 07:00:26 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qcom-spmi-temp-alarm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
tsens-8960.c drivers: thermal: tsens: Get rid of id field in tsens_sensor 2019-11-07 07:00:26 +01:00
tsens-common.c drivers: thermal: tsens: Add interrupt support 2019-11-07 07:00:26 +01:00
tsens-v0_1.c drivers: thermal: tsens: Add interrupt support 2019-11-07 07:00:26 +01:00
tsens-v1.c thermal: qcom: tsens-v1: Fix kfree of a non-pointer value 2019-11-07 07:00:26 +01:00
tsens-v2.c drivers: thermal: tsens: Add interrupt support 2019-11-07 07:00:26 +01:00
tsens.c thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976 2019-11-07 07:00:26 +01:00
tsens.h thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976 2019-11-07 07:00:26 +01:00