summary refs log tree commit diff
path: root/scripts/headerdep.pl
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2023-08-07 20:44:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-23 17:52:39 +0200
commitdccd07b0d9e4efe795441514cdbd691bc1a5fb9e (patch)
tree7579f9b54ee378bd0f69b394df818336caa7c496 /scripts/headerdep.pl
parent8ad3bfdd227e0f644e0c528c9d80d108a74c0f0f (diff)
downloadlinux-dccd07b0d9e4efe795441514cdbd691bc1a5fb9e.tar.gz
mmc: wbsd: fix double mmc_free_host() in wbsd_init()
commit d83035433701919ac6db15f7737cbf554c36c1a6 upstream.

mmc_free_host() has already be called in wbsd_free_mmc(),
remove the mmc_free_host() in error path in wbsd_init().

Fixes: dc5b9b50fc9d ("mmc: wbsd: fix return value check of mmc_add_host()")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230807124443.3431366-1-yangyingliang@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/headerdep.pl')
0 files changed, 0 insertions, 0 deletions