mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-25 07:41:40 +02:00
efi_selftest: incorrect use of bitwise or
We should use a logical or when combining logical values. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
a2505fc8a9
commit
335ce71db7
@ -53,7 +53,7 @@ static int execute(void)
|
|||||||
efi_st_error("ProtocolsPerHandle failed\n");
|
efi_st_error("ProtocolsPerHandle failed\n");
|
||||||
return EFI_ST_FAILURE;
|
return EFI_ST_FAILURE;
|
||||||
}
|
}
|
||||||
if (!protocol_buffer_count | !protocol_buffer) {
|
if (!protocol_buffer_count || !protocol_buffer) {
|
||||||
efi_st_error("ProtocolsPerHandle returned no protocol\n");
|
efi_st_error("ProtocolsPerHandle returned no protocol\n");
|
||||||
return EFI_ST_FAILURE;
|
return EFI_ST_FAILURE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user