]> 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)
commit5b8bff2980594c947865631ea38cb77be84a6dad
tree4fc3d5dad3281e5611c08c7a9ec4c78bdc20a8ee
parentbdd9dffe50074fefab8c24b143f4e9c8950b0b0b
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