Thread (3 messages) 3 messages, 3 authors, 2021-09-27

Re: [PATCH libnvme] fabrics: restore hostname traddr support

From: Keith Busch <kbusch@kernel.org>
Date: 2021-09-27 20:23:23

On Mon, Sep 27, 2021 at 07:39:53PM +0000, Chaitanya Kulkarni wrote:
quoted
+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 }; ?
Looks like it's unconditionally set if it is actually used, so should be
fine as-is.

Patch applied.

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help