Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a64e6bb4 authored by kbuild test robot's avatar kbuild test robot Committed by Jens Axboe
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 9f173b33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;