ioat: ring size variables need to be 32bit to avoid overflow
authorDave Jiang <dave.jiang@intel.com>
Wed, 4 Apr 2012 23:10:35 +0000 (16:10 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 5 Apr 2012 22:22:58 +0000 (15:22 -0700)
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>

No differences found