diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-08-18 11:44:29 +0100 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-08-18 15:47:58 +0200 |
commit | c4526c390a3c4ea1c4f244b6436ebbb74902769a (patch) | |
tree | 32bbe5e987136445ef2fcd881fe731e8a23cc609 /drivers/fpga/xilinx.c | |
parent | 783ea37c7b52ae088e8c64581fbe412b5dc9a878 (diff) |
phy: cadence: torrent: Set an error code for return
In cdns_torrent_phy_probe the test for too many lanes configured does
not set an error code before taking the error path. This could lead to a
silent failure if the calling code does not detect the error. Add the
code to return -EINVAL in this case.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'drivers/fpga/xilinx.c')
0 files changed, 0 insertions, 0 deletions