Commit e1b73b2a authored by Zou Wei's avatar Zou Wei Committed by Stanley Chu
Browse files

FROMGIT: scsi: ufs: ufs-mediatek: Add missing of_node_put() in ufs_mtk_probe()

The function is missing a of_node_put() on node. Fix this by adding the
call before returning.

Bug: 191731858
Change-Id: I0fc3115cd736ecdf756a1c5fb71e615affc6ed04
(cherry picked from commit d8b34a32
git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next)
Link: https://lore.kernel.org/r/1623929522-4389-1-git-send-email-zou_wei@huawei.com


Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Reviewed-by: default avatarStanley Chu <stanley.chu@mediatek.com>
Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: default avatarStanley Chu <stanley.chu@mediatek.com>
parent 127a7e28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment