aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkbuild test robot <[email protected]>2014-11-05 18:47:07 +0800
committerJens Axboe <[email protected]>2014-11-10 09:27:01 -0700
commita64e6bb4db601b561f2d3a80dfc554ddfe73db74 (patch)
tree46761cc5c11a612a522b555aa3135d799b927547
parent9f173b33843552c48e0136e02e7362c8229c8e57 (diff)
NVMe: __nvme_submit_admin_cmd() can be static
drivers/block/nvme-core.c:865:5: sparse: symbol '__nvme_submit_admin_cmd' was not declared. Should it be static? Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r--drivers/block/nvme-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c
index f7a87173e3f0..8393f91b2721 100644
--- a/drivers/block/nvme-core.c
+++ b/drivers/block/nvme-core.c
@@ -862,7 +862,7 @@ static int nvme_submit_admin_async_cmd(struct nvme_dev *dev,
return nvme_submit_cmd(nvmeq, cmd);
}
-int __nvme_submit_admin_cmd(struct nvme_dev *dev, struct nvme_command *cmd,
+static int __nvme_submit_admin_cmd(struct nvme_dev *dev, struct nvme_command *cmd,
u32 *result, unsigned timeout)
{
int res;