summaryrefslogtreecommitdiff
path: root/virt/lib
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2018-04-24 05:52:46 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-05-15 10:14:56 +0300
commit288ee3c36255d0c2d32830313f527e1474a09e9f (patch)
tree80dba1252048d316f6102c196c81d13aa3e0b4bd /virt/lib
parent64f5b56c9183eb31505bdc08058e1cf4d4b4ba1b (diff)
downloadlinux-288ee3c36255d0c2d32830313f527e1474a09e9f.tar.xz
usb: mtu3: avoid TX data length truncated in SS/SSP mode
The variable of 'count' is declared as u8, this will cause an issue due to value truncated when works in SS or SSP mode and data length is greater than 255, so change it as u32. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'virt/lib')
0 files changed, 0 insertions, 0 deletions