Re: [PATCH] staging: lustre: lmv: mark symbols static where possible

2016-09-18 Thread Dilger, Andreas
On Sep 17, 2016, at 06:04, Baoyou Xie wrote: > > We get a few warnings when building kernel with W=1: > drivers/staging/lustre/lustre/lmv/lmv_obd.c:1640:1: warning: no previous > prototype for 'lmv_locate_target_for_name' [-Wmissing-prototypes] >

Re: [PATCH] staging: lustre: lmv: mark symbols static where possible

2016-09-18 Thread Dilger, Andreas
On Sep 17, 2016, at 06:04, Baoyou Xie wrote: > > We get a few warnings when building kernel with W=1: > drivers/staging/lustre/lustre/lmv/lmv_obd.c:1640:1: warning: no previous > prototype for 'lmv_locate_target_for_name' [-Wmissing-prototypes] >

[PATCH] staging: lustre: lmv: mark symbols static where possible

2016-09-17 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/staging/lustre/lustre/lmv/lmv_obd.c:1640:1: warning: no previous prototype for 'lmv_locate_target_for_name' [-Wmissing-prototypes] drivers/staging/lustre/lustre/lmv/lmv_obd.c:2421:5: warning: no previous prototype for 'lmv_read_page'

[PATCH] staging: lustre: lmv: mark symbols static where possible

2016-09-17 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/staging/lustre/lustre/lmv/lmv_obd.c:1640:1: warning: no previous prototype for 'lmv_locate_target_for_name' [-Wmissing-prototypes] drivers/staging/lustre/lustre/lmv/lmv_obd.c:2421:5: warning: no previous prototype for 'lmv_read_page'