From: Bart Van Assche <bvanass...@acm.org> [ Upstream commit e37df2d5b569390e3b80ebed9a73fd5b9dcda010 ]
This patch avoids that a warning is reported when building with W=1. Cc: Sergey Gorenko <serge...@mellanox.com> Cc: Max Gurtovoy <m...@mellanox.com> Cc: Laurence Oberman <lober...@redhat.com> Signed-off-by: Bart Van Assche <bvanass...@acm.org> Signed-off-by: Doug Ledford <dledf...@redhat.com> Signed-off-by: Sasha Levin <sas...@kernel.org> --- drivers/infiniband/ulp/srp/ib_srp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index 2c1114ee0c6da..9da30d88a615e 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -3401,6 +3401,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. -- 2.20.1