Re: scsi/ufs: likely || misuse

From: Santosh Y
Date: Fri Apr 06 2012 - 05:07:12 EST


On Thu, Apr 5, 2012 at 5:16 AM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> Probably this should be && not ||
>
> drivers/scsi/ufs/ufshcd.c:              if (task_result != UPIU_TASK_MANAGEMENT_FUNC_COMPL ||
>                    task_result != UPIU_TASK_MANAGEMENT_FUNC_SUCCEEDED)
>

Somehow missed this email. Thanks Joe. I see Venkatraman has posted a
patch with the changes.

--
~Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/