commit | 21b764e075e74f8af90da9f623aa3e2167484687 | [log] [tgz] |
---|---|---|
author | Dave Jiang <dave.jiang@intel.com> | Wed Apr 04 16:10:35 2012 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Apr 05 15:22:58 2012 -0700 |
tree | 4ecbcdb82fdc3790d646bcd64b4cb5b481d1ad44 | |
parent | 3d9ea9e3af048ab6b8dced15248384e548ba05ea [diff] |
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: Jim Harris <james.r.harris@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>