diff options
author | Dust Li <[email protected]> | 2023-10-12 20:37:29 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-16 16:37:40 -0700 |
commit | 4abbd2e3c1db671fa1286390f1310aec78386f1d (patch) | |
tree | d608bd47f16e5e327445f387646e2b19222f2390 /drivers/usb/cdns3/cdns3-ep0.c | |
parent | 883f0dc0e4f6b627c0e91098724851da2eabe697 (diff) |
net/smc: return the right falback reason when prefix checks fail
In the smc_listen_work(), if smc_listen_prfx_check() failed,
the real reason: SMC_CLC_DECL_DIFFPREFIX was dropped, and
SMC_CLC_DECL_NOSMCDEV was returned.
Althrough this is also kind of SMC_CLC_DECL_NOSMCDEV, but return
the real reason is much friendly for debugging.
Fixes: e49300a6bf62 ("net/smc: add listen processing for SMC-Rv2")
Signed-off-by: Dust Li <[email protected]>
Reviewed-by: Alexandra Winter <[email protected]>
Reviewed-by: Wenjia Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions