diff options
| author | David S. Miller <davem@davemloft.net> | 2023-03-15 08:18:35 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-03-15 08:18:35 +0000 |
| commit | c4216a83078bc46f9e0475ff810a0a798572b0ec (patch) | |
| tree | 215e0b952df24ef3440c581b86f87d92935ff254 /net | |
| parent | 45ef71d108e6f1545e2981d8af03be13f2e39411 (diff) | |
| parent | 298c91dc40e51395198533433716d0521ed10995 (diff) | |
Merge branch 'net-smc-updates'
Wenjia Zhang says:
====================
smc: Updates 2023-03-01
The 1st patch is to make implements later do not need to adhere to a
specific SEID format. The 2nd patch does some cleanup.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
| -rw-r--r-- | net/smc/smc_ism.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/smc/smc_ism.c b/net/smc/smc_ism.c index 3b0b7710c6b0..fbee2493091f 100644 --- a/net/smc/smc_ism.c +++ b/net/smc/smc_ism.c @@ -429,7 +429,7 @@ static void smcd_register_dev(struct ism_dev *ism) u8 *system_eid = NULL; system_eid = smcd->ops->get_system_eid(); - if (system_eid[24] != '0' || system_eid[28] != '0') { + if (smcd->ops->supports_v2()) { smc_ism_v2_capable = true; memcpy(smc_ism_v2_system_eid, system_eid, SMC_MAX_EID_LEN); |
