Re: [PATCH v5 5/7] ufs: mcq: Added ufshcd_mcq_abort()

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

 



On 5/16/2023 8:15 PM, Stanley Chu wrote:
Hi Bao D.

@@ -7562,6 +7561,12 @@ static int ufshcd_abort(struct scsi_cmnd *cmd)
         if (is_mcq_enabled(hba))
                 goto release;

Should we remove the above lines because the code below will not be
executed in the MCQ path?
Thanks Stanley. It was my silly rebase mistake :-(. I will fix it.

Thanks,
Bao


+       if (is_mcq_enabled(hba)) {
+               /* MCQ mode. Branch off to handle abort for mcq mode */
+               err = ufshcd_mcq_abort(cmd);
+               goto release;
+       }
+
         /* Skip task abort in case previous aborts failed and report failure */
         if (lrbp->req_abort_skip) {
                 dev_err(hba->dev, "%s: skipping abort\n", __func__);
--
2.7.4





[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