diff options
author | 2019-10-22 12:18:06 +0100 | |
---|---|---|
committer | 2019-11-07 07:00:26 +0100 | |
commit | c7071f4914a40ae0027f4bc6d13f2a4eea7cab70 (patch) | |
tree | 630d14f2506d25e7a776864aaf61e579bc1ef4b0 /drivers/usb/cdns3/cdns3-imx.c | |
parent | cpufreq: qcom-hw: Move driver initialization earlier (diff) | |
download | wireguard-linux-c7071f4914a40ae0027f4bc6d13f2a4eea7cab70.tar.xz wireguard-linux-c7071f4914a40ae0027f4bc6d13f2a4eea7cab70.zip |
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
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions