Re: [edk2-devel] [PATCH v1 12/19] DynamicTablesPkg: Fix IORT node length assignment

2019-08-23 Thread Alexei Fedorov
Reviewed-by: Alexei Fedorov Alexei From: Sami Mujawar Sent: 23 August 2019 11:55 To: devel@edk2.groups.io Cc: Sami Mujawar ; Alexei Fedorov ; leif.lindh...@linaro.org ; Matteo Carlini ; nd Subject: [PATCH v1 12/19] DynamicTablesPkg: Fix IORT node length ass

[edk2-devel] [PATCH v1 12/19] DynamicTablesPkg: Fix IORT node length assignment

2019-08-23 Thread Sami Mujawar
The VS2017 compiler reports 'warning C4267: 'return': conversion from 'size_t' to 'UINT32', possible loss of data' for a number of functions that compute the IORT node length. Similarly, it reports warnings for IORT node length field assignments as the length field is 16-bit wide. This patch adds