[PATCH 3/3] nvme-pci: open-code polling logic in nvme_poll

Sagi Grimberg sagi at grimberg.me
Sun Jun 18 02:29:33 PDT 2017


>>   static int __nvme_poll(struct nvme_queue *nvmeq, unsigned int tag)
>>   {
>> +	struct nvme_completion cqe;
>> +	int found = 0, consumed = 0;
> 
> found should be a bool.

I'm returning found back from ->poll() callout so
I think I'll keep it int, unless you want me to modify
poll_fn signature?



More information about the Linux-nvme mailing list