diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-21 10:44:06 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-04-24 09:18:22 +0200 |
commit | baee29ac17e6363c9ec843de6b83afc95932e9c4 (patch) | |
tree | 2fff7c552f8c3aed844e2a3194780a77dd01cd9d /drivers/nvme | |
parent | nvme_fc: add controller reset support (diff) | |
download | linux-baee29ac17e6363c9ec843de6b83afc95932e9c4.tar.xz linux-baee29ac17e6363c9ec843de6b83afc95932e9c4.zip |
nvme-fc: mark two symbols static
Found by sparse.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r-- | drivers/nvme/host/fc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/host/fc.c b/drivers/nvme/host/fc.c index 5aa52863ba54..e73862ebb8b4 100644 --- a/drivers/nvme/host/fc.c +++ b/drivers/nvme/host/fc.c @@ -1257,7 +1257,7 @@ __nvme_fc_fcpop_chk_teardowns(struct nvme_fc_ctrl *ctrl, return complete_rq; } -void +static void nvme_fc_fcpio_done(struct nvmefc_fcp_req *req) { struct nvme_fc_fcp_op *op = fcp_req_to_fcp_op(req); @@ -1768,7 +1768,7 @@ nvme_fc_error_recovery(struct nvme_fc_ctrl *ctrl, char *errmsg) "reset work\n", ctrl->cnum); } -enum blk_eh_timer_return +static enum blk_eh_timer_return nvme_fc_timeout(struct request *rq, bool reserved) { struct nvme_fc_fcp_op *op = blk_mq_rq_to_pdu(rq); |