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

2016-09-26 Thread Martin K. Petersen
> "Baoyou" == Baoyou Xie writes: Baoyou> We get 2 warnings when building kernel with W=1: Baoyou> drivers/scsi/pm8001/pm8001_sas.c:530:23: warning: no previous Baoyou> prototype for 'pm8001_alloc_dev' [-Wmissing-prototypes] Baoyou> drivers/scsi/pm8001/pm8001_hwi.c:4495:5: warning: no previous

RE: [PATCH] pm8001: mark symbols static where possible

2016-09-25 Thread lindar_liu
c: pmc...@pmcs.com; linux-s...@vger.kernel.org; > linux-kernel@vger.kernel.org; a...@arndb.de; baoyou@linaro.org; > xie.bao...@zte.com.cn > Subject: [PATCH] pm8001: mark symbols static where possible > > We get 2 warnings when building kernel with W=1: > drivers/scsi/pm8001/pm800

[PATCH] pm8001: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/scsi/pm8001/pm8001_sas.c:530:23: warning: no previous prototype for 'pm8001_alloc_dev' [-Wmissing-prototypes] drivers/scsi/pm8001/pm8001_hwi.c:4495:5: warning: no previous prototype for 'pm8001_chip_phy_stop_req' [-Wmissing-prototypes] In