On Thu, Mar 21, 2019 at 10:24:12AM -0700, Bart Van Assche wrote: > This patch avoids that sparse reports the following warnings: > > drivers/infiniband/core/uverbs_std_types_flow_action.c:442:30: warning: symbol 'uverbs_def_obj_flow_action' was not declared. Should it be static? > drivers/infiniband/core/uverbs_std_types_dm.c:112:30: warning: symbol 'uverbs_def_obj_dm' was not declared. Should it be static? > drivers/infiniband/core/uverbs_std_types_counters.c:153:30: warning: symbol 'uverbs_def_obj_counters' was not declared. Should it be static? > drivers/infiniband/core/uverbs_std_types_mr.c:213:30: warning: symbol 'uverbs_def_obj_mr' was not declared. Should it be static? > > Fixes: 0bd01f3d0907 ("RDMA/uverbs: Require all objects to have a driver destroy function") # v5.0. > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > --- > drivers/infiniband/core/uverbs_std_types_counters.c | 1 + > drivers/infiniband/core/uverbs_std_types_dm.c | 1 + > drivers/infiniband/core/uverbs_std_types_flow_action.c | 1 + > drivers/infiniband/core/uverbs_std_types_mr.c | 1 + > 4 files changed, 4 insertions(+) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature