linux-stable/drivers/net/ethernet/microchip/sparx5
Arnd Bergmann f41e57af92 net: sparx5: fix bitmask on 32-bit targets
I saw the build failure that was fixed in commit 6387f65e2a ("net:
sparx5: fix compiletime_assert for GCC 4.9") and noticed another
issue that was introduced in the same patch: Using GENMASK() to
create a 64-bit mask does not work on 32-bit architectures.

This probably won't ever happen on this driver since it's specific
to a 64-bit SoC, but it's better to write it portably, so use
GENMASK_ULL() instead.

Fixes: f3cad2611a ("net: sparx5: add hostmode with phylink support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-03 11:52:37 +01:00
..
Kconfig net: sparx5: fix unmet dependencies warning 2021-07-22 00:44:32 -07:00
Makefile net: sparx5: add ethtool configuration and statistics support 2021-06-24 11:28:13 -07:00
sparx5_calendar.c net: sparx5: add calendar bandwidth allocation support 2021-06-24 11:28:13 -07:00
sparx5_ethtool.c net: sparx5: add ethtool configuration and statistics support 2021-06-24 11:28:13 -07:00
sparx5_mactable.c net: sparx5: add switching support 2021-06-24 11:28:13 -07:00
sparx5_main.c net: sparx5: Do not use mac_addr uninitialized in mchp_sparx5_probe() 2021-06-28 15:50:21 -07:00
sparx5_main.h net: sparx5: add ethtool configuration and statistics support 2021-06-24 11:28:13 -07:00
sparx5_main_regs.h
sparx5_netdev.c net: sparx5: fix bitmask on 32-bit targets 2021-08-03 11:52:37 +01:00
sparx5_packet.c net: sparx5: add switching support 2021-06-24 11:28:13 -07:00
sparx5_phylink.c net: sparx5: add port module support 2021-06-24 11:28:12 -07:00
sparx5_port.c net: sparx5: add port module support 2021-06-24 11:28:12 -07:00
sparx5_port.h net: sparx5: add port module support 2021-06-24 11:28:12 -07:00
sparx5_switchdev.c net: sparx5: fix error return code in sparx5_register_notifier_blocks() 2021-06-28 14:20:23 -07:00
sparx5_vlan.c net: sparx5: add vlan support 2021-06-24 11:28:13 -07:00