OSDN Git Service

staging: rtl8712: fixed little endian problem
authorJannik Becher <becher.jannik@gmail.com>
Tue, 20 Dec 2016 17:59:46 +0000 (18:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Nov 2017 08:23:27 +0000 (09:23 +0100)
commitca24e702ccfa7e4eb5cea019ef85823b394a38d4
treee8ff11f5e25583ec2931425ab3820015f60fa473
parentef417b59c222b5cbdc079184e8170b5c87fadac1
staging: rtl8712: fixed little endian problem

[ Upstream commit 502c80744fcac6b16f28699469c70db499fe2f69 ]

Fixed a sparse warning.
Using function le16_to_cpus() to avoid double assignment.

Signed-off-by: Jannik Becher <becher.jannik@gmail.com>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c