summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2012-10-17 12:16:16 +0400
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2012-10-24 02:43:38 +0400
commit16b45fdf9c4e82f5d3bc53aa70737650e7c8d5ed (patch)
treeaf6f9686ebd8e07928013eeee45bc5b0f4e1af21 /tools
parent966e7a854177097083683176ced871558b631a12 (diff)
downloadlinux-16b45fdf9c4e82f5d3bc53aa70737650e7c8d5ed.tar.xz
xhci: fix integer overflow
xhci_service_interval_to_ns() returns long long to avoid an overflow. However, the type cast happens too late. The fix is to force ULL from the beginning. This patch should be backported to kernels as old as 3.5, that contain the commit e3567d2c15a7a8e2f992a5f7c7683453ca406d82 "xhci: Add Intel U1/U2 timeout policy." Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> CC: stable@vger.kernel.org
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions