linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] spi: loopback-test: mark rx_ranges_cmp() static
       [not found] <1472635307-16513-1-git-send-email-baoyou.xie@linaro.org>
@ 2016-08-31 11:54 ` Arnd Bergmann
  0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2016-08-31 11:54 UTC (permalink / raw)
  To: Baoyou Xie; +Cc: broonie, linux-spi, linux-kernel, xie.baoyou

On Wednesday, August 31, 2016 5:21:47 PM CEST Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/spi/spi-loopback-test.c:408:5: warning: no previous prototype for 'rx_ranges_cmp' [-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 it 'static'.
> 
> Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
> 

Acked-by: Arnd Bergmann <arnd@arndb.de>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-31 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1472635307-16513-1-git-send-email-baoyou.xie@linaro.org>
2016-08-31 11:54 ` [PATCH] spi: loopback-test: mark rx_ranges_cmp() static Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).