]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 May 2019 12:42:39 +0000 (14:42 +0200)
commit396350737326d0e54c848ae14e4eb7160592633d
treef2082ab9fd3a25f4b79454693c9150cf6567b730
parent09a9213613533a7e34245df1f258764cf71a5206
bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()

[ Upstream commit f9099d611449836a51a65f40ea7dc9cb5f2f665e ]

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

Fixes: e605db801bde ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c