]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: Don't use an int to store netdev_features_t
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Wed, 27 Mar 2019 08:44:05 +0000 (09:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2019 18:10:57 +0000 (11:10 -0700)
commit701f0cbad35aa14486a320750a1c945abb207cc1
tree4cab935758ec60f7cf4f316ea86a2b843ccc3fce
parent83a5235a1303afc45d3d80507d1e8cc101f018e4
net: mvpp2: Don't use an int to store netdev_features_t

int is not long enough to store all netdev_features, use the correct
dedicated type to store them when building the list of dev->features.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c