summaryrefslogtreecommitdiff
path: root/lib/.gitignore
diff options
context:
space:
mode:
authorAllen Hubbe <Allen.Hubbe@emc.com>2015-08-11 08:05:42 (GMT)
committerVinod Koul <vinod.koul@intel.com>2015-08-17 08:05:58 (GMT)
commit870ce49022d1a278e441d2cb7b92acae2416b510 (patch)
treea8f8a6c2700ab22fd3962496ac8ec6a14a8ef364 /lib/.gitignore
parent3d8cc00073d6750ffe883685e49b2e4a0f596370 (diff)
downloadlinux-870ce49022d1a278e441d2cb7b92acae2416b510.tar.xz
dmaengine: ioatdma: fix u16 overflow in reshape
If the allocation order is 16, then the u16 index will overflow and wrap to zero instead of being equal or greater than 1 << 16. The loop condition will always be true, and the loop will run until all the memory resources are depleted. Change the type of index 'i' to u32, so that it is large enough to store a value equal or greater than 1 << 16. Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com> Acked-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'lib/.gitignore')
0 files changed, 0 insertions, 0 deletions