> > > -static inline int ufshcd_read_unit_desc_param(struct ufs_hba *hba, > > > - int lun, > > > - enum unit_desc_param param_offset, > > > - u8 *param_read_buf, > > > - u32 param_size) > > > +int ufshcd_read_unit_desc_param(struct ufs_hba *hba, > > > + int lun, > > > + enum unit_desc_param param_offset, > > > + u8 *param_read_buf, > > > + u32 param_size) > > > { > > > /* > > > * Unit descriptors are only available for general purpose LUs > > > (LUN id @@ -3322,6 +3322,7 @@ static inline int > > > ufshcd_read_unit_desc_param(struct ufs_hba *hba, > > > return ufshcd_read_desc_param(hba, QUERY_DESC_IDN_UNIT, lun, > > > param_offset, param_read_buf, > > > param_size); } > > > +EXPORT_SYMBOL_GPL(ufshcd_read_unit_desc_param); > > Are you exporting this because you need ufsfeatures to use it? > > If so, you need to wait until it is merged, if not, add an explanation in > > your commit log. > Yes, I need ufsfeatures for use. > What patch will merged? Is there patch to export ufsfeatures? https://www.spinics.net/lists/linux-scsi/msg144408.html and they exported ufshcd_query_descriptor_retry in the patch afterwards. Thanks, Avri