summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2019-09-07 15:13:39 +0200
committerLaszlo Ersek <lersek@redhat.com>2019-10-09 09:40:10 +0200
commit9ee135501b7138126e537adc58352c4126c33fcb (patch)
treea9565e117dd9ae6fd8a74d0ad7209f2c6228e073 /MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c
parentf9319840152899926dd11ccf7b9ed04009db929e (diff)
downloadedk2-9ee135501b7138126e537adc58352c4126c33fcb.tar.gz
edk2-9ee135501b7138126e537adc58352c4126c33fcb.tar.bz2
edk2-9ee135501b7138126e537adc58352c4126c33fcb.zip
MdeModulePkg: PEI Core: clean up "AprioriFile" handling in FindFileEx()
Clean up two issues around FindFileEx(): - The "AprioriFile" parameter's type differs between the function declaration and the function definition. The correct type is (EFI_PEI_FILE_HANDLE*). - "FfsFileHeader" has type (EFI_FFS_FILE_HEADER*); for clarity, we should cast it explicitly to EFI_PEI_FILE_HANDLE when assigning it to (*AprioriFile). This is a semantic cleanup, there is no functional change. Cc: Dandan Bi <dandan.bi@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c')
0 files changed, 0 insertions, 0 deletions