Re: [PATCH 1/3] megaraid_sas: mark symbols static where possible

2016-09-26 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_fp.c:94:5: warning: no Baoyou> previous prototype for 'mega_mod64' [-Wmissing-prototypes] Baoyou> drivers/scsi/megaraid/megaraid_sas_fp.c:112:5: warning: no

RE: [PATCH 1/3] megaraid_sas: mark symbols static where possible

2016-09-25 Thread Sumit Saxena
>Cc: megaraidlinux@avagotech.com; linux-s...@vger.kernel.org; linux- >ker...@vger.kernel.org; a...@arndb.de; baoyou@linaro.org; >xie.bao...@zte.com.cn >Subject: [PATCH 1/3] megaraid_sas: mark symbols static where possible > >We get a few warnings when building kernel with W=1: >drive

[PATCH 1/3] megaraid_sas: mark symbols static where possible

2016-09-24 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/scsi/megaraid/megaraid_sas_fp.c:94:5: warning: no previous prototype for 'mega_mod64' [-Wmissing-prototypes] drivers/scsi/megaraid/megaraid_sas_fp.c:112:5: warning: no previous prototype for 'mega_div64_32' [-Wmissing-prototypes] driver