]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Copy and paste bug in extended tx_stats
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 18 Oct 2018 08:02:39 +0000 (11:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 22:59:10 +0000 (15:59 -0700)
commitdc83bfafc56165ef5a5d5f0a647b26794f146df2
tree70f8bd3714508fc847408263cd4aa9685a439a24
parent17636bf41a849cd8a1ba7b345ebcf9941185e083
bnxt_en: Copy and paste bug in extended tx_stats

The struct type was copied from the line before but it should be "tx"
instead of "rx".  I have reviewed the code and I can't immediately see
that this bug causes a runtime issue.

Fixes: f677ad3ee1d6 ("bnxt_en: Add additional extended port statistics.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.h