projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f173b3
)
NVMe: __nvme_submit_admin_cmd() can be static
author
kbuild test robot
<fengguang.wu@intel.com>
Wed, 5 Nov 2014 10:47:07 +0000
(18:47 +0800)
committer
Jens Axboe
<axboe@fb.com>
Mon, 10 Nov 2014 16:27:01 +0000
(09:27 -0700)
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>
drivers/block/nvme-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/nvme-core.c
b/drivers/block/nvme-core.c
index f7a87173e3f03111fcb361fe49cca7b4f65bdd31..8393f91b2721549ce31124027bf49eff30ee8ffc 100644
(file)
--- 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;