Patch "staging: rtl8712: fixed little endian problem" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
staging: rtl8712: fixed little endian problem
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
staging-rtl8712-fixed-little-endian-problem.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Sun Nov 19 11:32:28 CET 2017
From: Jannik Becher <[email protected]>
Date: Tue, 20 Dec 2016 18:59:46 +0100
Subject: staging: rtl8712: fixed little endian problem
From: Jannik Becher <[email protected]>
[ Upstream commit 502c80744fcac6b16f28699469c70db499fe2f69 ]
Fixed a sparse warning.
Using function le16_to_cpus() to avoid double assignment.
--- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8712/rtl871x_ioctl_linux.c +1 -1
@@ -199,7 +199,7 @@ static noinline_for_stack char *translat iwe.cmd =SIOCGIWMODE ;memcpy ((u8 *)&cap,r8712_get_capability_from_ie (pnetwork->network.IEs),2 ); - cap =le16_to_cpu (cap); +le16_to_cpus (&cap);if (cap & (WLAN_CAPABILITY_IBSS |WLAN_CAPABILITY_BSS )) {if (cap &WLAN_CAPABILITY_BSS ) iwe.u.mode = (u32 )IW_MODE_MASTER ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/staging-rtl8712-fixed-little-endian-problem.patch