aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-10-14 12:34:36 +0300
committerDavid S. Miller <[email protected]>2022-10-15 11:12:12 +0100
commitbdee15e8c58b450ad736a2b62ef8c7a12548b704 (patch)
tree28493c88417ae94ce8e1b55ce217a5c981fbcada /drivers/usb/cdns3/cdns3-ti.c
parent0c9efbd5c50c64ead434960a404c9c9a097b0403 (diff)
net/smc: Fix an error code in smc_lgr_create()
If smc_wr_alloc_lgr_mem() fails then return an error code. Don't return success. Fixes: 8799e310fb3f ("net/smc: add v2 support to the work request layer") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Wenjia Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions