Re: [edk2] [patch] MdeModulePkg/NonDiscoverable: Use compare operator for comparison

2019-01-01 Thread Bi, Dandan
; ; Ard Biesheuvel > ; Zeng, Star > Subject: RE: [edk2] [patch] MdeModulePkg/NonDiscoverable: Use compare > operator for comparison > > if (Attributes) { > if ((Attributes & (~(DEV_SUPPORTED_ATTRIBUTES))) != 0) { > return EFI_UNSUPPOR

Re: [edk2] [patch] MdeModulePkg/NonDiscoverable: Use compare operator for comparison

2019-01-01 Thread Zeng, Star
ect: [edk2] [patch] MdeModulePkg/NonDiscoverable: Use compare operator for comparison REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1422 According to EDK II C Coding Standards Specification, Non-Boolean comparisons must use a compare operator. This patch is to update the code to follow EDKII coding

Re: [edk2] [patch] MdeModulePkg/NonDiscoverable: Use compare operator for comparison

2018-12-28 Thread Wang, Jian J
Reviewed-by: Jian J Wang > -Original Message- > From: Bi, Dandan > Sent: Friday, December 28, 2018 4:54 PM > To: edk2-devel@lists.01.org > Cc: Wang, Jian J ; Wu, Hao A > Subject: [patch] MdeModulePkg/NonDiscoverable: Use compare operator for > comparison > > REF: https://bugzilla.tian

[edk2] [patch] MdeModulePkg/NonDiscoverable: Use compare operator for comparison

2018-12-28 Thread Dandan Bi
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1422 According to EDK II C Coding Standards Specification, Non-Boolean comparisons must use a compare operator. This patch is to update the code to follow EDKII coding style. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution