Re: [U-Boot] [PATCH v2 2/2] disk: part: Don't show redundant error message

2018-07-23 Thread Simon Glass
On 20 July 2018 at 09:18, Sam Protsenko 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

[U-Boot] [PATCH v2 2/2] disk: part: Don't show redundant error message

2018-07-20 Thread Sam Protsenko
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 s