diff options
author | Oliver Neukum <oneukum@suse.com> | 2017-03-14 14:09:56 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-03-22 12:20:52 +0300 |
commit | 74098c4ac782afd71b35ac56f9536ae2f5cd7da7 (patch) | |
tree | e73898f472e1b8da0a3f6879bd3a44e9f317148c /mm/shmem.c | |
parent | de288e36fe33f7e06fa272bc8e2f85aa386d99aa (diff) | |
download | linux-74098c4ac782afd71b35ac56f9536ae2f5cd7da7.tar.xz |
usb: gadget: acm: 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: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions