From: soni.ankit@samsung.com
To: kbusch@kernel.org, axboe@fb.com, hch@lst.de, sagi@grimberg.me
Cc: linux-nvme@lists.infradead.org, sathya.m@samsung.com,
d.palani@samsung.com, prakash.bv@samsung.com, anshul@samsung.com,
Ankit Soni <soni.ankit@samsung.com>
Subject: [PATCH 1/1] nvme: host: changing data type for variable from bool to int.
Date: Tue, 12 Sep 2023 09:25:11 +0530 [thread overview]
Message-ID: <1694490911-32299-1-git-send-email-soni.ankit@samsung.com> (raw)
In-Reply-To: CGME20230912092353epcas5p130b50fa2030574071c41461447fddd52@epcas5p1.samsung.com
From: Ankit Soni <soni.ankit@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@samsung.com>
Signed-off-by: Sathyavathi M <sathya.m@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
next parent reply other threads:[~2023-09-12 11:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20230912092353epcas5p130b50fa2030574071c41461447fddd52@epcas5p1.samsung.com>
2023-09-12 3:55 ` soni.ankit [this message]
2023-09-12 13:03 ` [PATCH 1/1] nvme: host: changing data type for variable from bool to int Sagi Grimberg
2023-09-13 15:30 ` Kanchan Joshi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1694490911-32299-1-git-send-email-soni.ankit@samsung.com \
--to=soni.ankit@samsung.com \
--cc=anshul@samsung.com \
--cc=axboe@fb.com \
--cc=d.palani@samsung.com \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=prakash.bv@samsung.com \
--cc=sagi@grimberg.me \
--cc=sathya.m@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox