Re: [PATCH] scsi: ufs: ufs-mediatek: add put_device() after of_find_device_by_node()

From: Martin K. Petersen
Date: Thu Nov 18 2021 - 23:17:05 EST


On Wed, 10 Nov 2021 10:51:33 +0000, cgel.zte@xxxxxxxxx wrote:

> From: Ye Guojin <ye.guojin@xxxxxxxxxx>
>
> 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.
>
> [...]

Applied to 5.16/scsi-fixes, thanks!

[1/1] scsi: ufs: ufs-mediatek: add put_device() after of_find_device_by_node()
https://git.kernel.org/mkp/scsi/c/cc03facb1c42

--
Martin K. Petersen Oracle Linux Engineering