linux/drivers/net/ethernet/renesas
Niklas Söderlund c94f2fc4fc ravb: fix shadowing of symbol 'stats' in ravb_get_ethtool_stats()
Inside a loop in ravb_get_ethtool_stats() a variable 'stats' is declared
resulting in the argument also named 'stats' to be shadowed. Fix this
warning by renaming the unused argument 'stats' to 'estats'.

This fixes the sparse warning:

ravb_main.c:1225:36: originally declared here
ravb_main.c:1233:41: warning: symbol 'stats' shadows an earlier one

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-18 14:21:49 +09:00
..
Kconfig net: Remove depends on HAS_DMA in case of platform dependency 2018-06-23 10:44:30 +09:00
Makefile
ravb_main.c ravb: fix shadowing of symbol 'stats' in ravb_get_ethtool_stats() 2018-07-18 14:21:49 +09:00
ravb_ptp.c
ravb.h ravb: add support for changing MTU 2018-02-16 16:34:50 -05:00
sh_eth.c sh_eth: fix *enum* {A|M}PR_BIT 2018-06-28 16:02:04 +09:00
sh_eth.h sh_eth: fix *enum* {A|M}PR_BIT 2018-06-28 16:02:04 +09:00