diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2014-11-05 18:47:07 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-11-10 09:27:01 -0700 |
commit | a64e6bb4db601b561f2d3a80dfc554ddfe73db74 (patch) | |
tree | 46761cc5c11a612a522b555aa3135d799b927547 /drivers/block | |
parent | 9f173b33843552c48e0136e02e7362c8229c8e57 (diff) | |
download | op-kernel-dev-a64e6bb4db601b561f2d3a80dfc554ddfe73db74.zip op-kernel-dev-a64e6bb4db601b561f2d3a80dfc554ddfe73db74.tar.gz |
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 <fengguang.wu@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/nvme-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index f7a8717..8393f91 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; |