On 1 September 2017 at 14:08, Marcin Wojtas <[email protected]> wrote:
> From: Piotr Król <[email protected]>
>
> Make log information clear where it came from and return correct code to
> be interpreted by caller.
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Piotr Król <[email protected]>
> Signed-off-by: Marcin Wojtas <[email protected]>
> ---
>  Platform/Marvell/Drivers/Spi/MvSpiDxe.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Platform/Marvell/Drivers/Spi/MvSpiDxe.c 
> b/Platform/Marvell/Drivers/Spi/MvSpiDxe.c
> index aab20fc..0872f61 100755
> --- a/Platform/Marvell/Drivers/Spi/MvSpiDxe.c
> +++ b/Platform/Marvell/Drivers/Spi/MvSpiDxe.c
> @@ -240,7 +240,8 @@ MvSpiTransfer (
>      }
>
>      if (Iterator >= SPI_TIMEOUT) {
> -      DEBUG ((DEBUG_ERROR, "Timeout\n"));
> +      DEBUG ((DEBUG_ERROR, "EfiSpiTransfer: Timeout\n"));


Please don't use EFI prefixes for things that are not defined in the UEFI spec.

Also, you may want to use %a here, and pass __FUNCTION__ as the argument.
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to