summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorVenkat Duvvuru <venkatkumar.duvvuru@broadcom.com>2018-10-05 07:26:02 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-05 07:41:16 +0300
commita2bf74f4e1b82395dad2b08d2a911d9151db71c1 (patch)
tree3e411c0859b3e98179f3c067847e49520ad01ed6 /drivers/sh
parent5db0e0969af6501ad45fe0494039d3b9c797822b (diff)
downloadlinux-a2bf74f4e1b82395dad2b08d2a911d9151db71c1.tar.xz
bnxt_en: free hwrm resources, if driver probe fails.
When the driver probe fails, all the resources that were allocated prior to the failure must be freed. However, hwrm dma response memory is not getting freed. This patch fixes the problem described above. Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.") Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions