Re: [PATCH 2/2] nvme: improve cmb sysfs reporting

Stephen Bates
2017-01-09T20:02:11Z

> Minor nit below
>
>
>> +
>> + for (i = NVME_CMB_CAP_SQS; i <= NVME_CMB_CAP_WDS; i++)
>>
> I'd prefer seeing (i = 0; i < ARRAY_SIZE(..); i++) because it provides
> automatic bounds checking against future code.
>

Thanks Jon, I will take a look at doing this in a V1.

Stephen