diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2014-11-05 11:47:07 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-11-10 17:27:01 +0100 |
commit | a64e6bb4db601b561f2d3a80dfc554ddfe73db74 (patch) | |
tree | 46761cc5c11a612a522b555aa3135d799b927547 /drivers/block | |
parent | NVMe: blk_mq_alloc_request() returns error pointers (diff) | |
download | linux-a64e6bb4db601b561f2d3a80dfc554ddfe73db74.tar.xz linux-a64e6bb4db601b561f2d3a80dfc554ddfe73db74.zip |
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 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; |