mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
efi_loader: Add missing newline to log_{err,warning}
Add missing newline to log messages in efi_rng_register() otherwise something like below would be shown Scanning disk virtio-blk#31... Found 2 disks Missing RNG device for EFI_RNG_PROTOCOLNo EFI system partition Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
fccd3d9c42
commit
337c97d935
1 changed files with 2 additions and 2 deletions
|
@ -166,13 +166,13 @@ efi_status_t efi_rng_register(void)
|
|||
|
||||
ret = platform_get_rng_device(&dev);
|
||||
if (ret != EFI_SUCCESS) {
|
||||
log_warning("Missing RNG device for EFI_RNG_PROTOCOL");
|
||||
log_warning("Missing RNG device for EFI_RNG_PROTOCOL\n");
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
ret = efi_add_protocol(efi_root, &efi_guid_rng_protocol,
|
||||
(void *)&efi_rng_protocol);
|
||||
if (ret != EFI_SUCCESS)
|
||||
log_err("Cannot install EFI_RNG_PROTOCOL");
|
||||
log_err("Cannot install EFI_RNG_PROTOCOL\n");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue