[U-Boot] [PATCH v2 2/2] disk: part: Don't show redundant error message
Simon Glass
sjg at chromium.org
Mon Jul 23 23:48:16 UTC 2018
On 20 July 2018 at 09:18, Sam Protsenko <semen.protsenko at linaro.org> wrote:
> Underlying API should already print some meaningful error message, so
> this one is just brings more noise. E.g. we can see log like this:
>
> MMC: no card present
> ** Bad device mmc 0 **
>
> Obviously, second error message is unwanted. Let's only print it in case
> when DEBUG is defined to keep log short and clear.
>
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
> ---
> Changes in v2:
> - Instead of removing error message, print it with debug()
>
> disk/part.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list