[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1eg462lc6.fsf@sermon.lab.mkp.net>
Date: Mon, 26 Sep 2016 21:16:41 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: jejb@...ux.vnet.ibm.com, martin.petersen@...cle.com,
James.Bottomley@...senPartnership.com, Wilfried.Weissmann@....at,
hare@...e.de, jthumshirn@...e.de, tj@...nel.org,
davispuh@...il.com, luisbg@....samsung.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
arnd@...db.de, xie.baoyou@....com.cn
Subject: Re: [PATCH] [SCSI] mvsas: mark symbols static where possible
>>>>> "Baoyou" == Baoyou Xie <baoyou.xie@...aro.org> writes:
Baoyou> We get a few warnings when building kernel with W=1:
Baoyou> drivers/scsi/mvsas/mv_sas.c:77:18: warning: no previous
Baoyou> prototype for 'mvs_find_dev_mvi' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_sas.c:105:5: warning: no previous
Baoyou> prototype for 'mvs_find_dev_phyno' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_sas.c:1161:20: warning: no previous
Baoyou> prototype for 'mvs_alloc_dev' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_sas.c:1178:6: warning: no previous
Baoyou> prototype for 'mvs_free_dev' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_sas.c:1188:5: warning: no previous
Baoyou> prototype for 'mvs_dev_found_notify' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_sas.c:1244:6: warning: no previous
Baoyou> prototype for 'mvs_dev_gone_notify' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_sas.c:1614:6: warning: no previous
Baoyou> prototype for 'mvs_set_sense' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_sas.c:1653:6: warning: no previous
Baoyou> prototype for 'mvs_fill_ssp_resp_iu' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_64xx.c:139:6: warning: no previous
Baoyou> prototype for 'mvs_64xx_clear_srs_irq' [-Wmissing-prototypes]
Baoyou> drivers/scsi/mvsas/mv_64xx.c:566:6: warning: no previous
Baoyou> prototype for 'mvs_64xx_make_prd' [-Wmissing-prototypes] ....
Applied to 4.9/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists