Loading
bdev/nvme: zero out the referred discovery trid
If the trid is not zeroed out, trid.trstring might contain garbage value, which means that nvme_probe_internal() might not populate it based on trtype and will use that garbage value to get a transport, leading to the following failure: ``` nvme.c: 834:nvme_probe_internal: *ERROR*: NVMe trtype 3 () not available ``` Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I56bc6502d285ee5ce094184e00d3297f6332e8c0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12680 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>