]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 3 Jan 2017 15:51:16 +0000 (16:51 +0100)
commit502c80744fcac6b16f28699469c70db499fe2f69
tree4112978d626d916b3b934b05f434ffe181e54aa0
parent6839bc81478f2d7936615e4ba3d0bf599a85b720
staging: rtl8712: fixed little endian problem

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>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c