]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
RDMA/srp: Document srp_parse_in() arguments
authorBart Van Assche <bvanassche@acm.org>
Mon, 17 Dec 2018 21:20:34 +0000 (13:20 -0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 19 Dec 2018 20:07:25 +0000 (15:07 -0500)
This patch avoids that a warning is reported when building with W=1.

Cc: Sergey Gorenko <sergeygo@mellanox.com>
Cc: Max Gurtovoy <maxg@mellanox.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c

index abc2098ff30df493f26fe7650cea4ec86f2ef6dc..fbf701c0a514ea306918c7afd33aefd21f47ac99 100644 (file)
@@ -3403,6 +3403,9 @@ static const match_table_t srp_opt_tokens = {
 
 /**
  * srp_parse_in - parse an IP address and port number combination
+ * @net:          [in]  Network namespace.
+ * @sa:                   [out] Address family, IP address and port number.
+ * @addr_port_str: [in]  IP address and port number.
  *
  * Parse the following address formats:
  * - IPv4: <ip_address>:<port>, e.g. 1.2.3.4:5.