Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH] stmmac: dwmac-loongson: change loongson_dwmac_driver from global to static | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 04 Apr 2022 12:00:15 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
On Sun, 3 Apr 2022 10:02:02 -0400 you wrote: > Smatch reports this issue > dwmac-loongson.c:208:19: warning: symbol > 'loongson_dwmac_driver' was not declared. > Should it be static? > > loongson_dwmac_driver is only used in dwmac-loongson.c. > File scope variables used only in one file should > be static. Change loongson_dwmac_driver's > storage-class-specifier from global to static. > > [...]
Here is the summary with links: - stmmac: dwmac-loongson: change loongson_dwmac_driver from global to static https://git.kernel.org/netdev/net/c/2baed4f9b085
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| ![\](/images/icornerr.gif) |