Loading
vhost: check != 0 for pthread_create() return value
pthread_create() returns a positive errno when it fails, so the "rc < 0" check was invalid - it needs to be "rc != 0". Note: found while debugging an LTO compilation warning related to this function. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: If232d8c4aa113d6f3f8049f3bc8f5fd0c197d052 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23304 Reviewed-by:
Ben Walker <ben@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot