On 5/26/21 10:14 PM, Laszlo Ersek wrote: > - In every C file, list every necessary public #include individually, with > an example identifier that's actually consumed. > > - Place all public #includes first, all module-private #includes second. > Separate them with a single empty line. Keep each section sorted in > itself. > > - Sort all sections in the INF file, except [Defines]. > > - Add unlisted lib classes. > > - Remove unnecessary #include directives, add unlisted #include > directives. > > Cc: Anthony Perard <anthony.per...@citrix.com> > Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> > Cc: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Julien Grall <jul...@xen.org> > Cc: Philippe Mathieu-Daudé <phi...@redhat.com> > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 > Signed-off-by: Laszlo Ersek <ler...@redhat.com> > --- > OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 7 +++--- > OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c | 22 +++++++----------- > OvmfPkg/Library/PciHostBridgeLib/XenSupport.c | 24 > +++++++++----------- > 3 files changed, 23 insertions(+), 30 deletions(-)
Reviewed-by: Philippe Mathieu-Daude <phi...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75770): https://edk2.groups.io/g/devel/message/75770 Mute This Topic: https://groups.io/mt/83110898/21656 Mute #includes:https://edk2.groups.io/g/devel/mutehashtag/includes Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-