[PATCH 03/14] nvmet: use consistent type with id->nlbaf

Logan Gunthorpe logang at deltatee.com
Mon Aug 10 18:57:20 EDT 2020



On 2020-08-10 4:56 p.m., Chaitanya Kulkarni wrote:
> On 8/10/20 14:55, Logan Gunthorpe wrote:
>> Why is this an improvement? Seems to me a loop variable should use the
>> fastest type (ie an int).
>>
>> Logan
>>
> It is a type miss-match, why we need fast type ? its not in fast path.

It's just normal to use an int for a loop variable instead of something
specific like a u8. The type mismatch isn't really an issue here...

Logan





More information about the Linux-nvme mailing list