[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALMYJDtqsJkKYQqi-XPmLeAmMxcEEqbRe99uW0L5+ZHtN8DmJg@mail.gmail.com>
Date: Fri, 6 Apr 2012 14:49:07 +0530
From: Santosh Y <santoshsy@...il.com>
To: Venkatraman S <svenkatr@...com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 2/2] scsi/ufs: Fix evaluation of task_failed status
> @@ -1160,7 +1160,7 @@ static int ufshcd_task_req_compl(struct ufs_hba *hba, u32 index)
> task_result = be32_to_cpu(task_rsp_upiup->header.dword_1);
> task_result = ((task_result & MASK_TASK_RESPONSE) >> 8);
>
> - if (task_result != UPIU_TASK_MANAGEMENT_FUNC_COMPL ||
> + if (task_result != UPIU_TASK_MANAGEMENT_FUNC_COMPL &&
> task_result != UPIU_TASK_MANAGEMENT_FUNC_SUCCEEDED)
> task_result = FAILED;
> } else {
> --
> 1.7.5.4
>
Acked-by: Santosh Y <santoshsy@...il.com>
--
~Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists