net/ena: fix GENMASK_ULL macro
authorRafal Kozik <rk@semihalf.com>
Thu, 7 Jun 2018 09:43:20 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commit7544aee8d0b4ae0262b1ba7e1539cf8171664df7
treed4a0edfafd87a49cdd1d58627946a4282fe447c8
parent9f32c7e7e6ce58ab772913f54f8328c1c0186a17
net/ena: fix GENMASK_ULL macro

When use GENMASK_ULL(63,0) left shift by 64 bits is performed.
Shifting by number greater or equal then word length
is undefined operation and failed on some platforms.

Fixes: 9ba7981ec992 ("ena: add communication layer for DPDK")
Cc: stable@dpdk.org
Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/base/ena_plat_dpdk.h