[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <29596889.mEYM5UttnR@wuerfel>
Date: Mon, 05 Sep 2016 13:50:17 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: aacraid@...rosemi.com, jejb@...ux.vnet.ibm.com,
martin.petersen@...cle.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, xie.baoyou@....com.cn
Subject: Re: [PATCH] [SCSI] aacraid: mark aac_src_select_comm() static
On Sunday, September 4, 2016 2:47:10 PM CEST Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/scsi/aacraid/src.c:616:5: warning: no previous prototype for 'aac_src_select_comm' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> so this patch marks this function with 'static'.
>
>
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists