Re: [edk2-devel] [Patch V2 02/14] UefiCpuPkg/CpuPageTableLib: Add check for input Length

2023-03-14 Thread duntan
Thanks Ray. Will update the corresponding function header comments in next version. Thanks, Dun -Original Message- From: Ni, Ray Sent: Wednesday, March 15, 2023 9:25 AM To: Tan, Dun ; devel@edk2.groups.io Cc: Dong, Eric ; Kumar, Rahul R ; Gerd Hoffmann Subject: RE: [Patch V2 02/14] U

Re: [edk2-devel] [Patch V2 02/14] UefiCpuPkg/CpuPageTableLib: Add check for input Length

2023-03-14 Thread Ni, Ray
The function header comments in lib header and C file should be updated as well to document a new condition when success is returned. > -Original Message- > From: Tan, Dun > Sent: Wednesday, March 8, 2023 6:08 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Ni, Ray ; Kumar, > Rahul R ; G

[edk2-devel] [Patch V2 02/14] UefiCpuPkg/CpuPageTableLib: Add check for input Length

2023-03-08 Thread duntan
Add check for input Length in PageTableMap (). Return RETURN_SUCCESS when input Length is 0. Signed-off-by: Dun Tan Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann --- UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c | 4 1 file changed, 4 insertions(+) diff --git a/Uefi