[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YlSAffL1A6Q6BCZ0@efd45e54f7c9>
Date: Tue, 12 Apr 2022 03:24:45 +0800
From: kernel test robot <lkp@...el.com>
To: Keith Busch <keith.busch@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Rajat Jain <rajatja@...gle.com>,
Gwendal Grignou <gwendal@...omium.org>
Subject: [RFC PATCH jsarha] BACKPORT: FROMGIT: nvme-pci: nvme_dev_pm_ops can
be static
drivers/nvme/host/pci.c:2705:25: warning: symbol 'nvme_dev_pm_ops' was not declared. Should it be static?
Fixes: bc7304877066 ("BACKPORT: FROMGIT: nvme-pci: Use host managed power state for suspend")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.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 23f999fef88bcb..a33a32e6787799 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2702,7 +2702,7 @@ static int nvme_suspend(struct device *dev)
nvme_simple_suspend(dev) : nvme_deep_state(ndev);
}
-const struct dev_pm_ops nvme_dev_pm_ops = {
+static const struct dev_pm_ops nvme_dev_pm_ops = {
.suspend = nvme_suspend,
.resume = nvme_resume,
.freeze = nvme_simple_suspend,
Powered by blists - more mailing lists