]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: fix variable type in aq_ethtool_get_pauseparam
authorNikita Danilov <ndanilov@marvell.com>
Fri, 26 Jun 2020 18:40:32 +0000 (21:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2020 23:32:50 +0000 (16:32 -0700)
commitff2822eff5f2dfaf5b1f5827aacf98337c86567b
tree1f24982c5e51564a02d9cce63587006302df2f60
parent1c66af3d809a86c89a82c849b8e490dbd57855dc
net: atlantic: fix variable type in aq_ethtool_get_pauseparam

This patch fixes the type for variable which is assigned from enum,
as such it should have been int, not u32.

Signed-off-by: Nikita Danilov <ndanilov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c