summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAllen Hubbe <Allen.Hubbe@emc.com>2015-08-11 11:05:43 +0300
committerVinod Koul <vinod.koul@intel.com>2015-08-17 11:05:58 +0300
commit5484526ac120eb543e5a28610775f04014814d89 (patch)
tree19f4a05f497e8e5a0be74d08aa3140e960aeda14 /include/linux/debugobjects.h
parent870ce49022d1a278e441d2cb7b92acae2416b510 (diff)
downloadlinux-5484526ac120eb543e5a28610775f04014814d89.tar.xz
dmaengine: ioatdma: fix u16 overflow in cleanup
If the allocation order is 16, then the u16 count will overflow and wrap to zero when assigned the value 1 << 16. Change the type of 'total_descs' to int, 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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions