net/ena/base: fix type conversions by explicit casting
authorMichal Krawczyk <mk@semihalf.com>
Tue, 11 May 2021 06:45:40 +0000 (08:45 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 11 May 2021 13:00:43 +0000 (15:00 +0200)
commit83e8d5378d3f2eef749d47bb1145c29cc797a277
treea0e50db76a7679a8798ee5c23583c6d51b6a0796
parentb19f366cc9cb91a38710813a7d0078c46e67ff55
net/ena/base: fix type conversions by explicit casting

To silence error messages from the static code analysis, make the type
conversions explicit where they're intended.

Also fix the type for the DMA width value.

Fixes: 99ecfbf845b3 ("ena: import communication layer")
Cc: stable@dpdk.org
Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
drivers/net/ena/base/ena_com.c