Re: [PATCH] scsi: ufs-mediatek: Avoid using ret uninitialized in ufs_mtk_setup_clocks

From: Martin K. Petersen
Date: Wed Mar 20 2019 - 20:11:40 EST



Nathan,

> Remove the default case and initialize ret to -EINVAL to properly fix
> this warning.

Applied to 5.2/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering