lkml.org 
[lkml]   [2020]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [RFC PATCH v2 3/5] scsi: ufs: Introduce HPB module
From
Date
> +static int ufshpb_lu_hpb_init(struct ufs_hba *hba, struct ufshpb_lu *hpb,
> > + struct ufshpb_dev_info *hpb_dev_info)
> > +{
> > + int ret;
> > +
> > + spin_lock_init(&hpb->hpb_state_lock);
> > +
> > + ret = ufshpb_alloc_region_tbl(hba, hpb);
> > + if (ret)
> > + goto release_m_page_cache;
> This label is added only on 4/5
>
> > +static int __init ufshpb_init(void)
> > +{
> > + unsigned int pool_size;
> Unused variable
>
> > + int ret;
> > +
> > + ret = driver_register(&ufshpb_drv.drv);
> > + if (ret)
> > + pr_err("ufshpb: driver register failed\n");
> > +
> > + return ret;
> > +}

OK, I will fix it.

\
 
 \ /
  Last update: 2020-06-18 03:57    [W:0.254 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site