]> git.baikalelectronics.ru Git - kernel.git/commit
s390/netiucv: improve endianness handling
authorHans Wippel <hwippel@linux.vnet.ibm.com>
Fri, 7 Apr 2017 07:15:38 +0000 (09:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Apr 2017 12:52:51 +0000 (05:52 -0700)
commitba4eaa46fdbb9f9f70f554b540d20846f6b1d840
treef043c7c84fd33ab1402c0035b7d86c4c3aaa41a4
parent4e7b4662e61699a8d1dd1574c91949a2defd1f4d
s390/netiucv: improve endianness handling

Replace ntohs with endianness conversion for the SKB protocol assignment
to avoid an endianness warning reported by sparse. No functional change.

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/netiucv.c