Files
u-boot/lib
Heinrich Schuchardt 8d4c2c770c efi_loader: fix efi_ecpt_register()
num_entries should be unsigned to avoid warnings. As the target field is
u16 we should use this type.

    lib/efi_loader/efi_conformance.c: In function ‘efi_ecpt_register’:
    lib/efi_loader/efi_conformance.c:30:33: warning:
    conversion to ‘long unsigned int’ from ‘int’ may change
    the sign of the result [-Wsign-conversion]
       30 |         ecpt_size = num_entries * sizeof(efi_guid_t)
          |                                 ^
    lib/efi_loader/efi_conformance.c:46:36: warning:
    conversion from ‘int’ to ‘u16’ {aka ‘short unsigned int’}
    may change value [-Wconversion]
       46 |         ecpt->number_of_profiles = num_entries;
          |                                    ^~~~~~~~~~~

Fixes: 6b92c17352 ("efi: Create ECPT table")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-10 13:05:40 +01:00
..
…
2022-01-18 08:31:02 -05:00
2022-07-11 14:58:57 -04:00
…
2022-07-26 02:30:56 -06:00
…
2022-01-19 18:11:34 +01:00
…
2023-01-04 13:17:42 +01:00
…
…
…
…
…
…
2022-08-12 08:14:23 -04:00
…
2023-01-20 12:27:24 -05:00
2021-09-04 12:26:01 -04:00
2023-02-08 14:09:39 -05:00
…
2022-03-15 16:19:29 -04:00
…
…
…
…
…
…
2023-01-16 18:01:10 +08:00
2021-07-14 16:57:35 -04:00
…
…
2022-10-27 09:10:08 -04:00
2023-01-20 12:27:24 -05:00
2021-07-15 18:42:05 -04:00
2022-01-19 18:11:34 +01:00
2022-09-03 09:35:48 +02:00
…