> commit 198439e4 [SCSI] libsas: do not set res = 0 in sas_ex_discover_dev()
> commit 19252de6 [SCSI] libsas: fix wide port hotplug issues
> 
> The above commits seem to have confused the return value of
> sas_ex_discover_dev which is non-zero on failure and
> sas_ex_join_wide_port which just indicates short circuiting discovery on
> already established ports.  The result is random discovery failures
> depending on configuration.
> 
> Calls to sas_ex_join_wide_port are the source of the trouble as its
> return value is errantly assigned to 'res'.  Convert it to bool and stop
> returning its result up the stack.
[Jack Wang] 
Thanks for fix, looks OK to me.
Please add my Reviewed-by if needed.


--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to