]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Fri, 26 Apr 2019 02:31:51 +0000 (22:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Apr 2019 21:00:18 +0000 (17:00 -0400)
commit61936f8bc83a5a4f565ca715d0fc23bc28589d61
treec7db94c05ccba60bf4d2c50aa250aac7c2e2c583
parent075240134d13f3f5390a130fcd33d94e1bdcd973
bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()

In the bnxt_init_one() error path, short FW command request memory
is not freed. This patch fixes it.

Fixes: 2234e094bcdd ("bnxt_en: Support for Short Firmware Message")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c