[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180312.111302.544568010784710629.davem@davemloft.net>
Date: Mon, 12 Mar 2018 11:13:02 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: bryan.whitehead@...rochip.com, UNGLinuxDriver@...rochip.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] lan743x: make functions lan743x_csr_read and
lan743x_csr_read static
From: Colin King <colin.king@...onical.com>
Date: Sun, 11 Mar 2018 17:55:47 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> Functions lan743x_csr_read and lan743x_csr_read are local to the source
> and do not need to be in global scope, so make them static.
>
> Cleans up sparse warning:
> drivers/net/ethernet/microchip/lan743x_main.c:56:5: warning: symbol
> lan743x_csr_read' was not declared. Should it be static?
> drivers/net/ethernet/microchip/lan743x_main.c:61:6: warning: symbol
> 'lan743x_csr_write' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists