RE: [PATCH v4 4/5] scsi: ufs: L2P map management for HPB read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +static int ufshpb_issue_map_req(struct ufshpb_lu *hpb,
> +                               struct ufshpb_region *rgn,
> +                               struct ufshpb_subregion *srgn)
> +{


> +
> +       ret = ufshpb_lu_get(hpb);
> +       if (unlikely(ret)) {
> +               dev_notice(&hpb->hpb_lu_dev,
> +                          "%s: ufshpb_lu_get failed: %d", __func__, ret);
> +               goto free_map_req;
> +       }
> +
> +       ret = ufshpb_execute_map_req(hpb, map_req);
> +       if (ret) {
> +               dev_notice(&hpb->hpb_lu_dev,
> +                          "%s: issue map_req failed: %d, region %d - %d\n",
> +                          __func__, ret, srgn->rgn_idx, srgn->srgn_idx);
> +               ufshpb_lu_put(hpb);
> +               goto free_map_req;
> +       }
Missing closing ufshpb_lu_put?

> +       return 0;




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux