diff options
author | Ye Guojin <ye.guojin@zte.com.cn> | 2021-11-10 10:51:33 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-11-18 22:17:06 -0500 |
commit | cc03facb1c4248997592fc683518c00cc257db1a (patch) | |
tree | 85f0808365af82f78882b5f0076b1cd8a1115886 /sound/firewire | |
parent | 36e07d7ede88a1f1ef8f0f209af5b7612324ac2c (diff) | |
download | linux-stable-cc03facb1c4248997592fc683518c00cc257db1a.tar.gz linux-stable-cc03facb1c4248997592fc683518c00cc257db1a.tar.bz2 linux-stable-cc03facb1c4248997592fc683518c00cc257db1a.zip |
scsi: ufs: ufs-mediatek: Add put_device() after of_find_device_by_node()
This was found by coccicheck:
./drivers/scsi/ufs/ufs-mediatek.c, 211, 1-7, ERROR missing put_device;
call of_find_device_by_node on line 1185, but without a corresponding
object release within this function.
Link: https://lore.kernel.org/r/20211110105133.150171-1-ye.guojin@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions