[PATCH] nvme: fix return type of nvme_poll()

Keith Busch kbusch at kernel.org
Sat Dec 7 19:13:12 PST 2024


On Sat, Dec 07, 2024 at 04:55:46AM +0000, Yongsoo Joo wrote:
> Change the type of the return variable 'found' from bool to int so
> that any interested caller can see not only whether at least one
> CQE was processed, but also the total number of CQEs processed.

It looks like all the interested callers only care if it's not 0, so I'm
not sure this is a "fix" as the subject says.



More information about the Linux-nvme mailing list