]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/Library/LoadLinuxLib/Linux.c
OvmfPkg: Make more use of ARRAY_SIZE()
authorGary Lin <glin@suse.com>
Thu, 27 Oct 2016 10:16:15 +0000 (18:16 +0800)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 27 Oct 2016 16:21:06 +0000 (18:21 +0200)
commit5a5025e485b299c76ebed79fa63ba88a5b219a12
tree98b46b4a3bce19139e37f8d84a488b6968bb1db7
parent1399565a93a7457db262ae2cb81431062fcc30c4
OvmfPkg: Make more use of ARRAY_SIZE()

Convert the remaining pieces to make the code shorter and more readable.

Cc: Justen Jordan <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
[lersek@redhat.com: tweak subject line]
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/Csm/CsmSupportLib/LegacyRegion.c
OvmfPkg/Library/LoadLinuxLib/Linux.c
OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c
OvmfPkg/VirtioGpuDxe/Gop.c