diff options
author | Bart Van Assche <bvanassche@acm.org> | 2018-12-17 13:20:34 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-12-19 15:07:25 -0500 |
commit | e37df2d5b569390e3b80ebed9a73fd5b9dcda010 (patch) | |
tree | 7b910ae2c0ffb99e82278d7564f139106d868101 /drivers/infiniband/ulp | |
parent | 16d14e01b7a100911804768b3ae4df083da2b53d (diff) |
RDMA/srp: Document srp_parse_in() arguments
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>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index abc2098ff30d..fbf701c0a514 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -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. |