net: ena: store values in their appropriate variables types
authorShay Agroskin <shayagr@amazon.com>
Tue, 8 Dec 2020 18:02:02 +0000 (20:02 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Dec 2020 23:26:40 +0000 (15:26 -0800)
commite9548fdf93bc9e84f49fa272c74dc7cdaee793a3
tree4fc3d5dad3281e5611c08c7a9ec4c78bdc20a8ee
parentda580ca8de2c74c242b5e4eaa7e8ccc67322598a
net: ena: store values in their appropriate variables types

This patch changes some of the variables types to match the values they
hold. These wrong types fail some of our static checkers that search for
accidental conversions in our driver.

Signed-off-by: Ido Segev <idose@amazon.com>
Signed-off-by: Igor Chauskin <igorch@amazon.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_com.h