summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2016-10-28 03:25:58 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-09 01:30:00 +0300
commitafa3dfd42d205b106787476647735aa1de1a5d02 (patch)
tree684b4a10c87d673ff98368b05e1bdfcc4986f1ba /scripts/gdb/linux/proc.py
parent30fc33f1ef475480dc5bea4fe1bda84b003b992c (diff)
downloadlinux-afa3dfd42d205b106787476647735aa1de1a5d02.tar.xz
scsi: ufshcd: release resources if probe fails
If ufshcd pltfrm/pci driver's probe fails for some reason then ensure that scsi host is released to avoid memory leak but managed memory allocations (via devm_* calls) need not to be freed explicitly on probe failure as memory allocated with these functions is automatically freed on driver detach. Reviewed-by: Sahitya Tummala <stummala@codeaurora.org> Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions