Re: [PATCH] scsi: be2iscsi: mark symbols static where possible

2016-09-27 Thread Martin K. Petersen
> "Baoyou" == Baoyou Xie writes: Baoyou> We get 6 warnings when building kernel with W=1: Baoyou> drivers/scsi/be2iscsi/be_main.c:65:1: warning: no previous Baoyou> prototype for 'beiscsi_log_enable_disp' [-Wmissing-prototypes] Baoyou>

RE: [PATCH] scsi: be2iscsi: mark symbols static where possible

2016-09-26 Thread Jitendra Bhivare
m > Cc: linux-scsi@vger.kernel.org; linux-ker...@vger.kernel.org; a...@arndb.de; > baoyou@linaro.org; xie.bao...@zte.com.cn; han@zte.com.cn; > tang.qiang...@zte.com.cn > Subject: [PATCH] scsi: be2iscsi: mark symbols static where possible > > We get 6 warnings when building kern

[PATCH] scsi: be2iscsi: mark symbols static where possible

2016-09-26 Thread Baoyou Xie
We get 6 warnings when building kernel with W=1: drivers/scsi/be2iscsi/be_main.c:65:1: warning: no previous prototype for 'beiscsi_log_enable_disp' [-Wmissing-prototypes] drivers/scsi/be2iscsi/be_main.c:78:1: warning: no previous prototype for 'beiscsi_log_enable_change' [-Wmissing-prototypes]