]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: fix swapped parameters when calling ena_com_indirect_table_fill_entry
authorSameeh Jubran <sameehj@amazon.com>
Wed, 1 May 2019 13:47:03 +0000 (16:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 May 2019 04:14:46 +0000 (00:14 -0400)
commitaeffe6b74dcca25374795bbb0e0e121f06a28377
tree15103dc039f3345e59d3b8e8bd21f6f2868080a5
parent1d91fcb49d5c9ffc3d70c151fa3d5f484a27d70f
net: ena: fix swapped parameters when calling ena_com_indirect_table_fill_entry

second parameter should be the index of the table rather than the value.

Fixes: e59074db59c6 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Saeed Bshara <saeedb@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_ethtool.c