summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2017-03-14 14:09:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-17 07:22:58 +0300
commitcdd7928df0d2efaa3270d711963773a08a4cc8ab (patch)
tree6b7161c1bcaf029f4ed501bfe089169808f5530f /include
parent2e47c53503eb9faff42b3cfa144a833344dd1f89 (diff)
downloadlinux-cdd7928df0d2efaa3270d711963773a08a4cc8ab.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions