> > > +
> > > > +static struct ufshpb_map_ctx *ufshpb_get_map_ctx(struct ufshpb_lu
> > *hpb)
> > > > +{
> > > > + struct ufshpb_map_ctx *mctx;
> > > > + int i, j;
> > > > +
> > > > + mctx = mempool_alloc(ufshpb_drv.ufshpb_mctx_pool, GFP_KERNEL);
> > > > + if (!mctx)
> > > >
> +static void ufshpb_run_active_subregion_list(struct ufshpb_lu *hpb)
> > +{
> > + struct ufshpb_region *rgn;
> > + struct ufshpb_subregion *srgn;
> > + struct ufshpb_map_ctx *mctx;
> mctx doesn't really do anything here
OK, I will delete it.
> > + unsigned long flags;
> +static void ufshpb_run_active_subregion_list(struct ufshpb_lu *hpb)
> +{
> + struct ufshpb_region *rgn;
> + struct ufshpb_subregion *srgn;
> + struct ufshpb_map_ctx *mctx;
mctx doesn't really do anything here
> + unsigned long flags;
> + int ret = 0;
> +
> +
> > +
> > > +static struct ufshpb_map_ctx *ufshpb_get_map_ctx(struct ufshpb_lu
> *hpb)
> > > +{
> > > + struct ufshpb_map_ctx *mctx;
> > > + int i, j;
> > > +
> > > + mctx = mempool_alloc(ufshpb_drv.ufshpb_mctx_pool, GFP_KERNEL);
> > > + if (!mctx)
> > > +
> +
> > +static struct ufshpb_map_ctx *ufshpb_get_map_ctx(struct ufshpb_lu *hpb)
> > +{
> > + struct ufshpb_map_ctx *mctx;
> > + int i, j;
> > +
> > + mctx = mempool_alloc(ufshpb_drv.ufshpb_mctx_pool, GFP_KERNEL);
> > + if (!mctx)
> > + return NULL;
> So you
> +
> +static struct ufshpb_map_ctx *ufshpb_get_map_ctx(struct ufshpb_lu *hpb)
> +{
> + struct ufshpb_map_ctx *mctx;
> + int i, j;
> +
> + mctx = mempool_alloc(ufshpb_drv.ufshpb_mctx_pool, GFP_KERNEL);
> + if (!mctx)
> + return NULL;
So you use
Hi Bean
>
>
> On Mon, 2020-06-15 at 18:30 +0900, Daejun Park wrote:
> > +static int ufshpb_execute_map_req(struct ufshpb_lu *hpb,
> > + struct ufshpb_req *map_req)
> > +{
> > + struct request_queue *q;
> > + struct request *req;
> > + struct
Hi Daejun
On Mon, 2020-06-15 at 18:30 +0900, Daejun Park wrote:
> +static int ufshpb_execute_map_req(struct ufshpb_lu *hpb,
> + struct ufshpb_req *map_req)
> +{
> + struct request_queue *q;
> + struct request *req;
> + struct scsi_request *rq;
>
8 matches
Mail list logo