]> 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)
commitf7e6ccbfb42a3bbfb461cc8f5cd13e6543670ed3
treef043c7c84fd33ab1402c0035b7d86c4c3aaa41a4
parent6f7d35532a5116479ab93fe477621de08f8d0830
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