From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9099131764348812976==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] nvme-tcp-offload: nvme_tcp_ofld_report_queue_err() can be static Date: Fri, 30 Apr 2021 06:22:18 +0800 Message-ID: <20210429222218.GA8509@1b959ea1685b> In-Reply-To: <20210429190926.5086-9-smalin@marvell.com> List-Id: --===============9099131764348812976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/nvme/host/tcp-offload.c:76:5: warning: symbol 'nvme_tcp_ofld_report= _queue_err' was not declared. Should it be static? drivers/nvme/host/tcp-offload.c:94:6: warning: symbol 'nvme_tcp_ofld_req_do= ne' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- tcp-offload.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/nvme/host/tcp-offload.c b/drivers/nvme/host/tcp-offloa= d.c index 711232eba3390..949a8225b6672 100644 --- a/drivers/nvme/host/tcp-offload.c +++ b/drivers/nvme/host/tcp-offload.c @@ -73,7 +73,7 @@ EXPORT_SYMBOL_GPL(nvme_tcp_ofld_unregister_dev); * API function that allows the vendor specific offload driver to reports = errors * to the common offload layer, to invoke error recovery. */ -int nvme_tcp_ofld_report_queue_err(struct nvme_tcp_ofld_queue *queue) +static int nvme_tcp_ofld_report_queue_err(struct nvme_tcp_ofld_queue *queu= e) { /* Placeholder - invoke error recovery flow */ = @@ -91,9 +91,9 @@ int nvme_tcp_ofld_report_queue_err(struct nvme_tcp_ofld_q= ueue *queue) * API function that allows the vendor specific offload driver to report r= equest * completions to the common offload layer. */ -void nvme_tcp_ofld_req_done(struct nvme_tcp_ofld_req *req, - union nvme_result *result, - __le16 status) +static void nvme_tcp_ofld_req_done(struct nvme_tcp_ofld_req *req, + union nvme_result *result, + __le16 status) { /* Placeholder - complete request with/without error */ } --===============9099131764348812976==--