diff options
| author | Leon Romanovsky <[email protected]> | 2017-04-22 17:28:49 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-04-28 13:11:43 -0400 |
| commit | 218271adca2a3033d6ac9e3a71dcf81d5543afc6 (patch) | |
| tree | df797923bf76cc653a885749d00b97e09a9013bf /scripts/gcc-plugins/gcc-generate-gimple-pass.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 <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions