summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-08-02 18:21:53 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-03 13:52:37 +0300
commitf41e57af926ad840d114439d34cafc0533bf25f0 (patch)
tree93d5caedf306613c1212fcbaef4915b72cfe1654 /include
parentae954bbc451d267f7d60d7b49db811d5a68ebd7b (diff)
downloadlinux-f41e57af926ad840d114439d34cafc0533bf25f0.tar.xz
net: sparx5: fix bitmask on 32-bit targets
I saw the build failure that was fixed in commit 6387f65e2acb ("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: f3cad2611a77 ("net: sparx5: add hostmode with phylink support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions