net/bnxt: fix variable width in endian conversion
authorLance Richardson <lance.richardson@broadcom.com>
Sun, 2 Jun 2019 17:42:38 +0000 (13:42 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:29 +0000 (23:54 +0900)
commit26f568cccee35980aab449c119ed8cb3bdfbf4e6
treea1345dc09614253e99c7212224bc8a8cf5eac47b
parent1f91ae985753f7f5e4170ff2f2e0b1d47d1aa5dd
net/bnxt: fix variable width in endian conversion

Use 32-bit conversion width when converting to 32-bit values.

Fixes: 6371b91fb66d ("net/bnxt: add ring alloc/free")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c