Ib/core: Mark local uverbs_std_types functions to be static
authorLeon Romanovsky <leon@kernel.org>
Sat, 22 Apr 2017 14:28:49 +0000 (17:28 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Apr 2017 17:11:43 +0000 (13:11 -0400)
commit218271adca2a3033d6ac9e3a71dcf81d5543afc6
treedf797923bf76cc653a885749d00b97e09a9013bf
parent9ef63f31ad0ba28c68c8367e5b1cbba720fec597
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>
drivers/infiniband/core/uverbs_std_types.c