[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5765742.RO4gM8FzCf@wuerfel>
Date: Mon, 05 Sep 2016 13:49:14 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: laurent.pinchart@...asonboard.com, mchehab@...nel.org,
gregkh@...uxfoundation.org, linux-media@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
xie.baoyou@....com.cn
Subject: Re: [PATCH] staging: media: omap4iss: mark omap4iss_flush() static
On Sunday, September 4, 2016 2:41:41 PM CEST Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/staging/media/omap4iss/iss.c:64:6: warning: no previous prototype for 'omap4iss_flush' [-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'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
>
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists