[PATCH v4 1/8] nvme: introduce NVMe Namespace Identification Descriptor structures

Christoph Hellwig hch at lst.de
Sun Jun 4 22:33:00 PDT 2017


On Sun, Jun 04, 2017 at 05:59:06PM +0300, Sagi Grimberg wrote:
>>   +struct nvme_ns_identifier_hdr {
>> +	__u8 nidt;
>> +	__u8 nidl;
>> +	__le16 reserved;
>> +};
>
> Nit: _hdr is usually associated with a message or alike.
>
> Maybe nvme_ns_id_desc is more consistent with the spec language.

The descriptor itself includes the actual value, that's why
I suggested adding the _hdr prefix.  But I'm fine going either way.



More information about the Linux-nvme mailing list