diff options
author | Venkatraman S <svenkatr@ti.com> | 2012-04-19 08:16:22 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-10 09:59:24 +0200 |
commit | fd0f8370c8a8400da5195e183ce1ef4f407cec21 (patch) | |
tree | 82f67083fae2c23cfd3af3766f95c779f8ee5044 /lib/hexdump.c | |
parent | [SCSI] mpt2sas: move the scsi_host_put to the right place (diff) | |
download | linux-fd0f8370c8a8400da5195e183ce1ef4f407cec21.tar.xz linux-fd0f8370c8a8400da5195e183ce1ef4f407cec21.zip |
[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 <joe@perches.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Acked-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'lib/hexdump.c')
0 files changed, 0 insertions, 0 deletions