[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170623.135852.116857192416960869.davem@davemloft.net>
Date: Fri, 23 Jun 2017 13:58:52 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: peppe.cavallaro@...com, alexandre.torgue@...com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: stmmac: make some functions static
From: Colin King <colin.king@...onical.com>
Date: Thu, 22 Jun 2017 17:17:29 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> The functions dwmac4_dma_init_rx_chan, dwmac4_dma_init_tx_chan and
> dwmac4_dma_init_channel do not need to be in global scope, so them
> static.
>
> Cleans up sparse warnings:
> "symbol 'dwmac4_dma_init_rx_chan' was not declared. Should it be static?"
> "symbol 'dwmac4_dma_init_tx_chan' was not declared. Should it be static?"
> "symbol 'dwmac4_dma_init_channel' was not declared. Should it be static?"
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists