Re: [PATCH libnvme] fabrics: restore hostname traddr support
From: Chaitanya Kulkarni <hidden>
Date: 2021-09-27 19:40:35
From: Chaitanya Kulkarni <hidden>
Date: 2021-09-27 19:40:35
+static int hostname2traddr(nvme_ctrl_t c)
+{
+ struct addrinfo *host_info, hints = {.ai_family = AF_UNSPEC};
+ char addrstr[NVMF_TRADDR_SIZE];
do we need to setup the addrstr to 0 with = { 0 }; ?
+ const char *p; + int ret;
With that comment looks good to me. Looks good. Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme