diff options
author | Somnath Kotur <somnath.kotur@broadcom.com> | 2021-06-18 09:07:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-18 22:00:27 +0300 |
commit | 03400aaa69f916a376e11526cf591901a96a3a5c (patch) | |
tree | f753c97bd022f5ff4842a25b0d8e66088c79c612 /drivers/fpga | |
parent | c12e1643d2738bcd4e26252ce531878841dd3f38 (diff) | |
download | linux-03400aaa69f916a376e11526cf591901a96a3a5c.tar.xz |
bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
bnxt_ethtool_init() may have allocated some memory and we need to
call bnxt_ethtool_free() to properly unwind if bnxt_init_one()
fails.
Fixes: 7c3809181468 ("bnxt_en: Refactor bnxt_init_one() and turn on TPA support on 57500 chips.")
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions