Avoid dereferencing a NULL pointer if scsi_host_alloc is failed.
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
UTP Transfer request list base registers UTRLBA and UTRLBAU
must be assigned, lower-32 and upper-32 bits of UTRLD list
physical base addresses respectively.
Currently UTRLBAU is being assigned lower-32 bits of UTRLD
physical base address. This will cause an issue with
controllers that can support 64-bit addressing.
This patch correctly assigns upper-32 bits of UTRLD physical
base address to UTRLBAU.
Reported-by: Rene De Jong <[email protected]>
Signed-off-by: Santosh Yaraganavi <[email protected]>
Reviewed-by: Vinayak Holikatti <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
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 <[email protected]>
Signed-off-by: Venkatraman S <[email protected]>
Reviewed-by: Namjae Jeon <[email protected]>
Acked-by: Santosh Y <[email protected]>
Signed-off-by: James Bottomley <[email protected]>