efi_firmware_raw_get_image_info and efi_firmware_fit_get_image_info

1 Jun
2022
1 Jun
'22
7:41 a.m.
Hello Sughosh,
I can't see any difference between efi_firmware_raw_get_image_info() and efi_firmware_fit_get_image_info(). Shouldn't we replace them by a single function to avoid maintaining duplicate code?
Best regards
Heinrich

1 Jun
1 Jun
9:40 a.m.
hello Heinrich,
On Wed, 1 Jun 2022 at 11:11, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Hello Sughosh,
I can't see any difference between efi_firmware_raw_get_image_info() and efi_firmware_fit_get_image_info(). Shouldn't we replace them by a single function to avoid maintaining duplicate code?
The two functions can indeed be refactored into a single function. I will add this patch to the miscellaneous capsule fixes series that I posted yesterday. Thanks.
-sughosh
Best regards
Heinrich
1071
Age (days ago)
1071
Last active (days ago)
1 comments
2 participants
participants (2)
-
Heinrich Schuchardt
-
Sughosh Ganu