[U-Boot] [PATCH 3/8] USB-CDC: Linux-like debug printout
Remy Bohmer
linux at bohmer.net
Thu Aug 12 20:33:07 CEST 2010
Hi,
2010/8/12 Vitaly Kuzmichev <vkuzmichev at mvista.com>:
> Take debug printout macros back from linux-2.6.27 and make them more
> useful and more compatible.
>
> Signed-off-by: Vitaly Kuzmichev <vkuzmichev at mvista.com>
> ---
> drivers/usb/gadget/ether.c | 65 +++++++++++++++++++++++---------------------
> 1 files changed, 34 insertions(+), 31 deletions(-)
>
> diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
> index a07738f..b6f5f4d 100644
> --- a/drivers/usb/gadget/ether.c
> +++ b/drivers/usb/gadget/ether.c
> @@ -37,8 +37,10 @@
> #define dev_err(x, stuff...) printf(stuff)
> #define dev_dbg dev_err
> #define dev_warn dev_err
> -#define DEBUG dev_err
> -#define VDEBUG DEBUG
> +#define WARN INFO
> +#define ERROR INFO
> +#define DEBUG INFO
This switches DEBUG logging on by default. This is not wanted.
Can you please change that?
Kind regards,
Remy
More information about the U-Boot
mailing list