scsi/ufs: likely || misuse
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)
Quoted 5 lines · Joe Perches
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.
Signature · 1 line
~Santosh