RE: [PATCH v7 3/8] scsi: ufs: export ufs_fixup_device_setup() function

From: Stanley Chu
Date: Fri May 08 2020 - 03:46:55 EST


Hi Avri,

On Fri, 2020-05-08 at 07:42 +0000, Avri Altman wrote:
> >
> > -static void ufshcd_fixup_dev_quirks(struct ufs_hba *hba)
> > +void ufshcd_fixup_dev_quirks(struct ufs_hba *hba, struct ufs_dev_fix
> > *fixups)
> > {
> > struct ufs_dev_fix *f;
> > struct ufs_dev_info *dev_info = &hba->dev_info;
> Now that you are exporting it, maybe return if (!fixups)?
>

Good idea, I will add it in next version.

Thanks,
Stanley Chu