]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch '6.1/scsi-queue' into 6.1/scsi-fixes
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 21 Oct 2022 01:10:34 +0000 (01:10 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 21 Oct 2022 01:10:34 +0000 (01:10 +0000)
Include the patches that weren't included in the 6.1 pull request.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1  2 
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/ufs/core/ufshpb.c

index 3d69a81c5b1783e48b5b92a0f37f3ab8af912590,0ce5063bedc57a59e145278fbcb6b259e5f39a74..7d56c9b4f7a801443296de88905dc63d12a42d07
@@@ -613,19 -613,16 +613,19 @@@ static void ufshpb_activate_subregion(s
        srgn->srgn_state = HPB_SRGN_VALID;
  }
  
 -static void ufshpb_umap_req_compl_fn(struct request *req, blk_status_t error)
 +static enum rq_end_io_ret ufshpb_umap_req_compl_fn(struct request *req,
 +                                                 blk_status_t error)
  {
-       struct ufshpb_req *umap_req = (struct ufshpb_req *)req->end_io_data;
+       struct ufshpb_req *umap_req = req->end_io_data;
  
        ufshpb_put_req(umap_req->hpb, umap_req);
 +      return RQ_END_IO_NONE;
  }
  
 -static void ufshpb_map_req_compl_fn(struct request *req, blk_status_t error)
 +static enum rq_end_io_ret ufshpb_map_req_compl_fn(struct request *req,
 +                                                blk_status_t error)
  {
-       struct ufshpb_req *map_req = (struct ufshpb_req *) req->end_io_data;
+       struct ufshpb_req *map_req = req->end_io_data;
        struct ufshpb_lu *hpb = map_req->hpb;
        struct ufshpb_subregion *srgn;
        unsigned long flags;