]> git.proxmox.com Git - mirror_edk2.git/commit - Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbInfo.c
Vlv2TbltDevicePkg FvbRuntimeDxe: Fix CalculateCheckSum16 input incorrect length
authorStar Zeng <star.zeng@intel.com>
Wed, 30 Sep 2015 04:39:34 +0000 (04:39 +0000)
committerlzeng14 <lzeng14@Edk2>
Wed, 30 Sep 2015 04:39:34 +0000 (04:39 +0000)
commitabbe4e57f4bf753613535a85f3bd82067644bdae
treeb39fe37c601219ae0ede4089ec2d997ca328bdc0
parent201d2d21bdc88f85d85f30cd92d6d00b7e25301c
Vlv2TbltDevicePkg FvbRuntimeDxe: Fix CalculateCheckSum16 input incorrect length

The input length should be "The size, in bytes, of Buffer.",
the divide sizeof (UINT16) operation is not needed and incorrect.

Cc: David Wei <david.wei@intel.com>
Cc: Tim He <tim.he@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18563 6f19259b-4bc3-4df7-8a09-765794883524
Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbInfo.c