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

Martin K. Petersen martin.petersen at oracle.com
Thu Nov 18 20:16:32 PST 2021


On Wed, 10 Nov 2021 10:51:33 +0000, cgel.zte at gmail.com wrote:

> From: Ye Guojin <ye.guojin at zte.com.cn>
> 
> 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



More information about the linux-arm-kernel mailing list