summaryrefslogtreecommitdiff
path: root/drivers/fpga/socfpga_arria10.c
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-08-05 15:53:34 +0100
committerJerome Forissier <jerome.forissier@linaro.org>2025-08-18 15:47:57 +0200
commit6bc6fec3b33f3c14f14493783db9258ac9938062 (patch)
tree3899c6b5cb4f1060996943f9693235dfe80b0225 /drivers/fpga/socfpga_arria10.c
parentc6561a467c9f9a77717ddc2ef296866a4d8a6843 (diff)
net: octeontx2: Restore default value for err
In nix_lf_setup there is a default value assigned to err in case an error is detected. However this default value will be overwritten in the for loop so that later code does not return an error code from the function. Add a new assignment to restore err to the default error code. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/fpga/socfpga_arria10.c')
0 files changed, 0 insertions, 0 deletions