Skip to content
Commit 21b764e0 authored by Dave Jiang's avatar Dave Jiang Committed by Dan Williams
Browse files

ioat: ring size variables need to be 32bit to avoid overflow



The alloc order can be up to 16 and 1 << 16 will over flow the 16bit
integer. Change the appropriate variables to 16bit to avoid overflow.

Reported-by: default avatarJim Harris <james.r.harris@intel.com>
Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 3d9ea9e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment