WSL2-Linux-Kernel/drivers/net/ethernet/apm/xgene
Geert Uytterhoeven 2e598712e4 drivers: net: xgene: Pre-initialize ret in xgene_enet_get_resources()
If CONFIG_ACPI=n:

    drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_get_resources’:
    drivers/net/ethernet/apm/xgene/xgene_enet_main.c:951: warning: ‘ret’ may be used uninitialized in this function

If the driver is bound to a legacy platform device, ret will contain
arbitrary data. If it is non-zero, it will be returned to the caller as
an error code.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-28 16:54:32 -07:00
..
Kconfig net: xgene_enet: Set hardware dependency 2015-05-09 16:24:15 -04:00
Makefile drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_ethtool.c drivers: net: xgene: Add SGMII based 1GbE ethtool support 2014-10-14 16:09:22 -04:00
xgene_enet_hw.c drivers: net: xgene: Check for IS_ERR rather than NULL for clock. 2015-06-23 07:19:21 -07:00
xgene_enet_hw.h drivers: net: xgene: Add SGMII based 1GbE support with ring manager v2 2015-04-30 16:03:14 -04:00
xgene_enet_main.c drivers: net: xgene: Pre-initialize ret in xgene_enet_get_resources() 2015-06-28 16:54:32 -07:00
xgene_enet_main.h drivers: net: xgene: fix kbuild warnings 2015-04-30 22:30:07 -04:00
xgene_enet_ring2.c drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_ring2.h drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_sgmac.c drivers: net: xgene: Check for IS_ERR rather than NULL for clock. 2015-06-23 07:19:21 -07:00
xgene_enet_sgmac.h drivers: net: xgene: Add SGMII based 1GbE support 2014-10-14 16:09:21 -04:00
xgene_enet_xgmac.c drivers: net: xgene: Check for IS_ERR rather than NULL for clock. 2015-06-23 07:19:21 -07:00
xgene_enet_xgmac.h drivers: net: xgene: Add SGMII based 1GbE support with ring manager v2 2015-04-30 16:03:14 -04:00