Re: [PATCH 1/2] qed: mark symbols static where possible

2016-09-30 Thread Arnd Bergmann
On Friday 30 September 2016, Baoyou Xie wrote: > > We get 12 warnings when building kernel with W=1: > drivers/net/ethernet/qlogic/qed/qed_cxt.c:346:6: warning: no previous > prototype for 'qed_cxt_set_srq_count' [-Wmissing-prototypes] > drivers/net/ethernet/qlogic/qed/qed_cxt.c:353:5: warning: n

[PATCH 1/2] qed: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get 12 warnings when building kernel with W=1: drivers/net/ethernet/qlogic/qed/qed_cxt.c:346:6: warning: no previous prototype for 'qed_cxt_set_srq_count' [-Wmissing-prototypes] drivers/net/ethernet/qlogic/qed/qed_cxt.c:353:5: warning: no previous prototype for 'qed_cxt_get_srq_count' [-Wmissi