net/iucv: improve endianness handling
authorHans Wippel <hwippel@linux.vnet.ibm.com>
Fri, 23 Jun 2017 17:32:27 +0000 (19:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:42:58 +0000 (11:42 -0400)
commit2e56c26b391810461170547509649f0c11717f65
tree1e0835e1093fe251b5d8699272b39fe013ae00e6
parent64b2f72671a9a8cbea1aa575d3ea3998987e8c53
net/iucv: improve endianness handling

Use proper endianness conversion for an skb protocol assignment. Given
that IUCV is only available on big endian systems (s390), this simply
avoids an endianness warning reported by sparse.

Signed-off-by: Hans Wippel <hwippel@linux.vnet.ibm.com>
Reviewed-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c