Re: [edk2-devel] [PATCH v2] BaseTools: Correct initialization data size check for array PCDs

2022-10-01 Thread Bob Feng
Reviewed-by: Bob Feng -Original Message- From: Konstantin Aladyshev Sent: Tuesday, August 30, 2022 6:21 PM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming ; Chen, Christine ; Konstantin Aladyshev Subject: [PATCH v2] BaseTools: Correct initialization data size check for array

[edk2-devel] [PATCH v2] BaseTools: Correct initialization data size check for array PCDs

2022-08-30 Thread Konstantin Aladyshev
Currently it is not possible to initialize all elements in the array PCD. For example, this PCD would result to a build failure: gTokenSpaceGuid.PcdArray|{0x11, 0x22}|UINT8[2]|0x4C4CB9A3 Correct logical operator in the initialization data size checks to fix the issue. Signed-off-by: Konstantin A