summaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-08-05 16:45:49 +0100
committerJerome Forissier <jerome.forissier@linaro.org>2025-08-18 14:08:57 +0200
commit0ce7fef9e2154d188bd50ae687fb666faac8fe7b (patch)
tree7ab62c6158480411eecbcde1135236c2e9986e85 /drivers/fpga
parent62b4a482b943bc8173ac10a6c783e84d939b88bf (diff)
net: octeontx: Free allocated memory on error
In octeontx_smi_probe if an error is detected then memory that was allocated is not freed. Small refactor of the code to use a common return and free memory. Also return -ENOMEM for an allocation failure. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions