From: Venkatraman S Date: Thu, 19 Apr 2012 06:16:22 +0000 (+0530) Subject: [SCSI] ufs: Fix evaluation of UTP task completion code X-Git-Tag: v3.5-rc1~172^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd0f8370c8a8400da5195e183ce1ef4f407cec21;p=pandora-kernel.git [SCSI] ufs: Fix evaluation of UTP task completion code While interpreting the result of UTP task completion status, by using boolean &&, the evaluation would fail when the UPIU_TASK_MANAGEMENT_FUNC_SUCCEEDED was received. Either UPIU_TASK_MANAGEMENT_FUNC_COMPL or UPIU_TASK_MANAGEMENT_FUNC_SUCCEEDED should be considered as a success result. Reported-by: Joe Perches Signed-off-by: Venkatraman S Reviewed-by: Namjae Jeon Acked-by: Santosh Y Signed-off-by: James Bottomley --- Reading git-diff-tree failed