aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2017-03-14 12:09:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-17 13:22:58 +0900
commitcdd7928df0d2efaa3270d711963773a08a4cc8ab (patch)
tree6b7161c1bcaf029f4ed501bfe089169808f5530f /drivers/net/dsa/dsa_loop.c
parent2e47c53503eb9faff42b3cfa144a833344dd1f89 (diff)
ACM gadget: fix endianness in notifications
The gadget code exports the bitfield for serial status changes over the wire in its internal endianness. The fix is to convert to little endian before sending it over the wire. Signed-off-by: Oliver Neukum <oneukum@suse.com> Tested-by: 家瑋 <momo1208@gmail.com> CC: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions