RE: [PATCH v2] scsi: ufs: add a variant operation in struct ufs_hba_variant_ops

Hoyoung SEO
2022-09-16T01:59:59Z

> -----Original Message-----
> From: Martin K. Petersen [mailto:martin.petersen@oracle.com]
> Sent: Friday, September 16, 2022 10:55 AM
> To: SEO HOYOUNG
> Cc: linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org;
> alim.akhtar@samsung.com; avri.altman@wdc.com; jejb@linux.ibm.com;
> martin.petersen@oracle.com; beanhuo@micron.com; bvanassche@acm.org;
> bhoon95.kim@samsung.com; kwmad.kim@samsung.com
> Subject: Re: [PATCH v2] scsi: ufs: add a variant operation in struct
> ufs_hba_variant_ops
>
>
> Seo,
>
> > +static inline void ufshcd_vops_check_int_error(struct ufs_hba *hba,
> > + bool *queue_eh_work)
> > +{
> > + if (hba->vops & hba->vops->check_int_error)
>
> Uhm?
>
I will fixed it.
Thanks.

> > + hba->vops->check_int_error(hba, queue_eh_work); }
> > +
>
> --
> Martin K. Petersen Oracle Linux Engineering