0aa1ab2fb4
Adjust variable size between u8 and u16 to fix casting issues Also fix couple coding style issues Karol Kolacinski <karol.kolacinski@intel.com> Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Qiming Yang <qiming.yang@intel.com>