s390/ctcm: improve endianness handling
authorHans Wippel <hwippel@linux.vnet.ibm.com>
Fri, 7 Apr 2017 07:15:37 +0000 (09:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Apr 2017 12:52:51 +0000 (05:52 -0700)
commit5cd77c135627f8d2b24df6d3487b3ac9219ed1a4
treef2b954b51a048c4e323fdeee85f5d25ab78ba527
parent6bee4e26a39c51ffe698072ded1f5ab2062e4225
s390/ctcm: improve endianness handling

Use endianness conversions for SKB protocol assignments and usage to
avoid endianness warnings reported by sparse. No functional changes.

Signed-off-by: Hans Wippel <hwippel@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/ctcm_fsms.c
drivers/s390/net/ctcm_main.c