summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2022-02-01 01:07:05 +0900
committerKalle Valo <kvalo@kernel.org>2022-02-01 14:27:04 +0200
commit5e90f0f3ead014867dade7a22f93958119f5efab (patch)
treeb114d63ac6a8390cbbe5be230e2fee9faaa1f8c1 /include/linux/debugobjects.h
parente80affde17200034587a7f3f708b1c5376fca71e (diff)
downloadcachepc-linux-5e90f0f3ead014867dade7a22f93958119f5efab.tar.gz
cachepc-linux-5e90f0f3ead014867dade7a22f93958119f5efab.zip
brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
This avoids leaking memory if brcmf_chip_get_raminfo fails. Note that the CLM blob is released in the device remove path. Fixes: 82f93cf46d60 ("brcmfmac: get chip's default RAM info during PCIe setup") Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com> Cc: stable@vger.kernel.org Signed-off-by: Hector Martin <marcan@marcan.st> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220131160713.245637-2-marcan@marcan.st
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions