Re: [edk2-devel] [PATCH V3 5/8] MdeModulePkg/FirmwarePerformanceDxe: make global variable static

2019-04-26 Thread Laszlo Ersek
ps.io; Gao, Zhichao ; Laszlo >>> Ersek >>> Cc: Laszlo Ersek ; Wang, Jian J ; >>> Ni, Ray ; Zeng, Star ; Gao, Liming >>> ; Bi, Dandan >>> Subject: RE: [edk2-devel] [PATCH V3 5/8] >>> MdeModulePkg/FirmwarePerformanceDxe: make global variable sta

Re: [edk2-devel] [PATCH V3 5/8] MdeModulePkg/FirmwarePerformanceDxe: make global variable static

2019-04-26 Thread Wu, Hao A
, Jian J ; > > Ni, Ray ; Zeng, Star ; Gao, Liming > > ; Bi, Dandan > > Subject: RE: [edk2-devel] [PATCH V3 5/8] > > MdeModulePkg/FirmwarePerformanceDxe: make global variable static > > > > > -Original Message- > > > From: devel@edk2.groups.io [mailto:dev

Re: [edk2-devel] [PATCH V3 5/8] MdeModulePkg/FirmwarePerformanceDxe: make global variable static

2019-04-26 Thread Gao, Zhichao
roups.io > > Cc: Laszlo Ersek; Wang, Jian J; Wu, Hao A; Ni, Ray; Zeng, Star; Gao, > > Liming; Bi, Dandan > > Subject: [edk2-devel] [PATCH V3 5/8] > > MdeModulePkg/FirmwarePerformanceDxe: make global variable static > > After checking Laszlo's comment on V2: &

Re: [edk2-devel] [PATCH V3 5/8] MdeModulePkg/FirmwarePerformanceDxe: make global variable static

2019-04-25 Thread Wu, Hao A
Dandan > Subject: [edk2-devel] [PATCH V3 5/8] > MdeModulePkg/FirmwarePerformanceDxe: make global variable static After checking Laszlo's comment on V2: ''' (1) in all of the subject lines, please replace Decrease the name collisions with make mExitBootServicesEvent STATIC ''' I pref

[edk2-devel] [PATCH V3 5/8] MdeModulePkg/FirmwarePerformanceDxe: make global variable static

2019-04-25 Thread Gao, Zhichao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1740 Add a 'static' storage-class specifier to the global variables that only used in a single file to minimize the name collisions. This is only for the variable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Jian J Wang Cc: Hao Wu