Thread (2 messages) 2 messages, 2 authors, 2017-06-23

Re: [PATCH] net: stmmac: make some functions static

From: David Miller <davem@davemloft.net>
Date: 2017-06-23 17:58:55
Also in: kernel-janitors, lkml

From: Colin King <redacted>
Date: Thu, 22 Jun 2017 17:17:29 +0100
From: Colin Ian King <redacted>

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 <redacted>
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help