[PATCH 1/1] nvme: host: changing data type for variable from bool to int.
soni.ankit at samsung.com
soni.ankit at samsung.com
Mon Sep 11 20:55:11 PDT 2023
From: Ankit Soni <soni.ankit at samsung.com>
Changing data type of local variable to make it aligned with
return type of "nvme_poll_cq" function.
Signed-off-by: Ankit Soni <soni.ankit at samsung.com>
Signed-off-by: Sathyavathi M <sathya.m at samsung.com>
---
drivers/nvme/host/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 2f57da12..b328a65 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -1116,7 +1116,7 @@ static void nvme_poll_irqdisable(struct nvme_queue *nvmeq)
static int nvme_poll(struct blk_mq_hw_ctx *hctx, struct io_comp_batch *iob)
{
struct nvme_queue *nvmeq = hctx->driver_data;
- bool found;
+ int found;
if (!nvme_cqe_pending(nvmeq))
return 0;
--
1.8.3.1
More information about the Linux-nvme
mailing list