[PATCH nvme-cli] print friendly name for trtype and adrfam

Minturn, Dave B dave.b.minturn at intel.com
Tue Jun 7 14:52:11 PDT 2016


It looks like you have the trtype (transport type) and adrfam (address family) swapped in the switch statements.
..Dave


>>-----Original Message-----
>>From: Linux-nvme [mailto:linux-nvme-bounces at lists.infradead.org] On
>>Behalf Of Keith Busch
>>Sent: Tuesday, June 07, 2016 2:51 PM
>>To: Ming Lin <mlin at kernel.org>
>>Cc: Christoph Hellwig <hch at lst.de>; linux-nvme at lists.infradead.org
>>Subject: Re: [PATCH nvme-cli] print friendly name for trtype and adrfam
>>
>>On Tue, Jun 07, 2016 at 02:33:20PM -0700, Ming Lin wrote:
>>> From: Ming Lin <ming.l at samsung.com>
>>>
>>> Without this patch:
>>> =====Discovery Log Entry 0======
>>> trtype:  1
>>> adrfam:  1
>>>
>>> With this patch:
>>> =====Discovery Log Entry 0======
>>> trtype:  ipv4
>>> adrfam:  rdma
>>>
>>> Signed-off-by: Ming Lin <ming.l at samsung.com>
>>
>>Applied.
>>
>>_______________________________________________
>>Linux-nvme mailing list
>>Linux-nvme at lists.infradead.org
>>http://lists.infradead.org/mailman/listinfo/linux-nvme



More information about the Linux-nvme mailing list