commit | fd6ebb6fb2cf30eb03fbb8949e367832cbb82fec | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Fri Oct 02 17:09:27 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 03 17:04:48 2020 -0700 |
tree | f7ee1d1d9e377c2da3770e58c69ec63631a54a68 | |
parent | 839d696ffb2714c06da7f55f622d0ac8286524b5 [diff] |
net/smc: use an array to check fields in system EID The check for old hardware versions that did not have SMCDv2 support was using suspicious pointer magic. Address the fields using an array. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>