]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit768733907b3fbb21f9095981519f1ea17f289864
tree4fc3d5dad3281e5611c08c7a9ec4c78bdc20a8ee
parent8f9de930638f50baf5eb9eb09b18d9b84ab3d273
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