aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lee Jones <lee.jones@linaro.org> 2020-07-01 09:31:07 +0100
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2020-07-01 15:08:04 +0200
commit5d137a360ac5fc02a4172b823a4293067334553e (patch)
tree283f37351008fceb8b9a1957dbd6fedae066cedc
parentmisc: mic: scif: scif_api: Remove set but unused variable 'read_size' (diff)
downloadlinux-5d137a360ac5fc02a4172b823a4293067334553e.tar.gz
linux-5d137a360ac5fc02a4172b823a4293067334553e.tar.bz2
linux-5d137a360ac5fc02a4172b823a4293067334553e.zip
misc: mic: scif: scif_api: Demote scif_accept() function header
The correct format is not used and no attempt has been made to document the function arguments. Makes sense to just demote the header back down to a simple comment. Fixes the following W=1 warnings: drivers/misc/mic/scif/scif_api.c:739: warning: Function parameter or member 'epd' not described in 'scif_accept' drivers/misc/mic/scif/scif_api.c:739: warning: Function parameter or member 'peer' not described in 'scif_accept' drivers/misc/mic/scif/scif_api.c:739: warning: Function parameter or member 'newepd' not described in 'scif_accept' drivers/misc/mic/scif/scif_api.c:739: warning: Function parameter or member 'flags' not described in 'scif_accept' Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20200701083118.45744-20-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/mic/scif/scif_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mic/scif/scif_api.c b/drivers/misc/mic/scif/scif_api.c
index d7faffdd87e9..9cc6b2a6cf22 100644
--- a/drivers/misc/mic/scif/scif_api.c
+++ b/drivers/misc/mic/scif/scif_api.c
@@ -713,7 +713,7 @@ int scif_connect(scif_epd_t epd, struct scif_port_id *dst)
}
EXPORT_SYMBOL_GPL(scif_connect);
-/**
+/*
* scif_accept() - Accept a connection request from the remote node
*
* The function accepts a connection request from the remote node. Successful