summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-01-26 11:47:52 -0800
committerChristoph Hellwig <hch@lst.de>2021-02-02 10:26:12 +0100
commit8f8ea928fd77db60dc22276e3acdb9ca41cbf8dd (patch)
tree5a0f6b0624479bfe9ec84f5e4aef5b27df8a17bd /drivers/nvme
parent4a407d5ebc7ac1ea8c6e2692bd79320459dc60f6 (diff)
downloadlinux-8f8ea928fd77db60dc22276e3acdb9ca41cbf8dd.tar.gz
linux-8f8ea928fd77db60dc22276e3acdb9ca41cbf8dd.tar.bz2
linux-8f8ea928fd77db60dc22276e3acdb9ca41cbf8dd.zip
nvme-core: get rid of the extra space
Remove the extra space in the nvme_free_cels() when calling xa_for_each loop which is not a common practice (except drivers/infiniband/core/ not sure why). Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 009830d247f8..168601d96f48 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -4448,7 +4448,7 @@ static void nvme_free_cels(struct nvme_ctrl *ctrl)
struct nvme_effects_log *cel;
unsigned long i;
- xa_for_each (&ctrl->cels, i, cel) {
+ xa_for_each(&ctrl->cels, i, cel) {
xa_erase(&ctrl->cels, i);
kfree(cel);
}