Skip to content
Commit eef17a9b authored by Shenglei Zhang's avatar Shenglei Zhang Committed by Liming Gao
Browse files

AdvancedFeaturePkg/BmcElog: Change arithmetic logic



Change the value from "sizeof(UINT8)" to 1 in the arithmetic expression.
The original value added to (UINT8 *)&GetBmcGlobalEnables is
(sizeof(UINT8)*sizeof(UINT8)) which equals to 1, so the functionality
looks right. But the arithmetic logic is actually wrong.

Cc: Michael Kubacki <michael.a.kubacki@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: default avatarShenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: default avatarLiming Gao <liming.gao@intel.com>
parent b2201a7b
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