summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-06-12 14:41:41 +0200
committerAndy Gross <andy.gross@linaro.org>2018-07-21 21:53:47 +0200
commit78ee559d7fc65e37670a46cfbeaaa62cb014af67 (patch)
tree140cc553fac52324a07dd69fe557db7fec3105c4 /include/soc
parentsoc: qcom: llc-slice: Add missing MODULE_LICENSE() (diff)
downloadlinux-78ee559d7fc65e37670a46cfbeaaa62cb014af67.tar.xz
linux-78ee559d7fc65e37670a46cfbeaaa62cb014af67.zip
soc: qcom: rmtfs-mem: fix memleak in probe error paths
Make sure to set the mem device release callback before calling put_device() in a couple of probe error paths so that the containing object also gets freed. Fixes: d1de6d6c639b ("soc: qcom: Remote filesystem memory driver") Cc: stable <stable@vger.kernel.org> # 4.15 Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions