summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_clc.c
diff options
context:
space:
mode:
authorStefan Raspl <stefan.raspl@de.ibm.com>2018-03-01 13:51:26 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-01 19:21:31 +0100
commit0f6271264afd975bc599d6f30f3693e9aea57036 (patch)
tree59afef354ab7a129324c74ff5331af4203e2f2f4 /net/smc/smc_clc.c
parentMerge branch 'ipv4-ipv6-mcast-align' (diff)
downloadlinux-0f6271264afd975bc599d6f30f3693e9aea57036.tar.xz
linux-0f6271264afd975bc599d6f30f3693e9aea57036.zip
net/smc: cleanup smc_llc.h and smc_clc.h headers
Remove structures used internal only from headers. And remove an extra function parameter. Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_clc.c')
-rw-r--r--net/smc/smc_clc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/smc/smc_clc.c b/net/smc/smc_clc.c
index 8ac51583a063..dff318a2d5bf 100644
--- a/net/smc/smc_clc.c
+++ b/net/smc/smc_clc.c
@@ -22,6 +22,9 @@
#include "smc_clc.h"
#include "smc_ib.h"
+/* eye catcher "SMCR" EBCDIC for CLC messages */
+static const char SMC_EYECATCHER[4] = {'\xe2', '\xd4', '\xc3', '\xd9'};
+
/* check if received message has a correct header length and contains valid
* heading and trailing eyecatchers
*/