[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq137livckb.fsf@sermon.lab.mkp.net>
Date: Fri, 02 Sep 2016 06:08:36 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: QLogic-Storage-Upstream@...gic.com, jejb@...ux.vnet.ibm.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
arnd@...aro.org, xie.baoyou@....com.cn
Subject: Re: [PATCH] [SCSI] qla4xxx: mark symbols static where possible
>>>>> "Baoyou" == Baoyou Xie <baoyou.xie@...aro.org> writes:
Baoyou> We get 1 warning when build kernel with W=1:
Baoyou> drivers/scsi/qla4xxx/ql4_nx.c:1846:10: warning: no previous
Baoyou> prototype for 'ql4_84xx_ipmdio_rd_reg' [-Wmissing-prototypes]
Baoyou> In fact, this function is only used in the file in which it is
Baoyou> declared and don't need a declaration, but can be made static.
Baoyou> so this patch marks this function with 'static'.
Applied to 4.9/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists