commit | 7a62725a50e0282ed90185074c769ce2ecb16e59 | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Fri Apr 12 12:57:30 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 12 10:50:56 2019 -0700 |
tree | 7ded9f83b0ed0f263fadb9c923d6d4de811fea5f | |
parent | 9aa68d298c80d11a987691258ff92fd67e224af3 [diff] |
net/smc: improve smc_conn_create reason codes Rework smc_conn_create() to always return a valid DECLINE reason code. This removes the need to translate the return codes on 4 different places and allows to easily add more detailed return codes by changing smc_conn_create() only. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>