]> git.baikalelectronics.ru Git - kernel.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)
commitf248bbf25b576929e90f00d394932ae2e3dc31e2
tree4112978d626d916b3b934b05f434ffe181e54aa0
parent4d33cc672f355c54cd9d0f6c3719bbc89c16c8c6
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