Commit 44c6b69
committed
efi/libstub: Cast away type warning in use of max()
JIRA: https://issues.redhat.com/browse/RHEL-33066
commit 61d130f
Author: Ard Biesheuvel <ardb@kernel.org>
Date: Tue Mar 26 11:15:25 2024 +0100
efi/libstub: Cast away type warning in use of max()
Avoid a type mismatch warning in max() by switching to max_t() and
providing the type explicitly.
Fixes: 3cb4a48 ("efi/libstub: fix efi_random_alloc() ...")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Lenny Szubowicz <lszubowi@redhat.com>1 parent 7a5bd19 commit 44c6b69
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments