lkml.org 
[lkml]   [2020]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [RFC PATCH v2 3/5] scsi: ufs: Introduce HPB module
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;
> +}
\
 
 \ /
  Last update: 2020-06-17 13:33    [W:1.803 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site