[PATCH] drbd: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/block/drbd/drbd_worker.c:197:6: warning: no previous prototype for 'drbd_panic_after_delayed_completion_of_aborted_request' [-Wmissing-prototypes] drivers/block/drbd/drbd_receiver.c:1224:6: warning: no previous prototype for

[PATCH] drbd: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/block/drbd/drbd_worker.c:197:6: warning: no previous prototype for 'drbd_panic_after_delayed_completion_of_aborted_request' [-Wmissing-prototypes] drivers/block/drbd/drbd_receiver.c:1224:6: warning: no previous prototype for

Re: [PATCH] drbd: mark symbols static where possible

2016-09-02 Thread Philipp Reisner
Hi Baoyou, thanks for the patch. I applied it to our tree. Will be sent to one of the next merge windows... best regards, Phil Am Donnerstag, 1. September 2016, 18:57:53 CEST schrieb Baoyou Xie: > We get a few warnings when building kernel with W=1: > drivers/block/drbd/drbd_receiver.c:1224:6:

Re: [PATCH] drbd: mark symbols static where possible

2016-09-02 Thread Philipp Reisner
Hi Baoyou, thanks for the patch. I applied it to our tree. Will be sent to one of the next merge windows... best regards, Phil Am Donnerstag, 1. September 2016, 18:57:53 CEST schrieb Baoyou Xie: > We get a few warnings when building kernel with W=1: > drivers/block/drbd/drbd_receiver.c:1224:6:

[PATCH] drbd: mark symbols static where possible

2016-09-01 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/block/drbd/drbd_receiver.c:1224:6: warning: no previous prototype for 'one_flush_endio' [-Wmissing-prototypes] drivers/block/drbd/drbd_req.c:1450:6: warning: no previous prototype for 'send_and_submit_pending' [-Wmissing-prototypes]

[PATCH] drbd: mark symbols static where possible

2016-09-01 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/block/drbd/drbd_receiver.c:1224:6: warning: no previous prototype for 'one_flush_endio' [-Wmissing-prototypes] drivers/block/drbd/drbd_req.c:1450:6: warning: no previous prototype for 'send_and_submit_pending' [-Wmissing-prototypes]