Re: [PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up

2016-09-19 Thread Martin K. Petersen
> "Baoyou" == Baoyou Xie writes: Baoyou> We get a few warnings when building kernel with W=1: Baoyou> drivers/scsi/megaraid/megaraid_sas_fusion.c:281:1: warning: no Baoyou> previous prototype for 'megasas_free_cmds_fusion' Baoyou> [-Wmissing-prototypes] Baoyou>

RE: [PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up

2016-09-19 Thread Sumit Saxena
>Cc: megaraidlinux@avagotech.com; linux-scsi@vger.kernel.org; linux- >ker...@vger.kernel.org; a...@arndb.de; baoyou@linaro.org; >xie.bao...@zte.com.cn >Subject: [PATCH] megaraid_sas: clean function declarations in >megaraid_sas_base.c up > >We get a few warnings when building

[PATCH] megaraid_sas: clean function declarations in megaraid_sas_base.c up

2016-09-18 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/scsi/megaraid/megaraid_sas_fusion.c:281:1: warning: no previous prototype for 'megasas_free_cmds_fusion' [-Wmissing-prototypes] drivers/scsi/megaraid/megaraid_sas_fusion.c:714:1: warning: no previous prototype for