mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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>
This commit is contained in:
parent
9f173b3384
commit
a64e6bb4db
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue