diff options
author | Leon Romanovsky <leon@kernel.org> | 2017-04-22 17:28:49 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-28 13:11:43 -0400 |
commit | 218271adca2a3033d6ac9e3a71dcf81d5543afc6 (patch) | |
tree | df797923bf76cc653a885749d00b97e09a9013bf /drivers/infiniband/core/agent.h | |
parent | 9ef63f31ad0ba28c68c8367e5b1cbba720fec597 (diff) |
Ib/core: Mark local uverbs_std_types functions to be static
Functions declared in uverbs_std_types.c are local to that file, but
they lack static declarations. This produces a lot of sparse warnings,
like the one below:
drivers/infiniband/core/uverbs_std_types.c:41:5: warning: symbol
'uverbs_free_ah' was not declared.
Should it be static?
So mark them as static.
CC: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/agent.h')
0 files changed, 0 insertions, 0 deletions